/
var
/
www
/
vhosts
/
ihelp.ro
/
_OLD
/
src
/
Model
/
Entity
/
/var/www/vhosts/ihelp.ro/_OLD/src/Model/Entity
mkdir
upload
Name
Size
Mode
Actions
Cause.php
610
0644
edit
dl
rm
CauseImage.php
449
0644
edit
dl
rm
Profile.php
1365
0644
edit
dl
rm
User.php
2121
0644
edit
dl
rm
Edit:
/var/www/vhosts/ihelp.ro/_OLD/src/Model/Entity/Profile.php
(1365B)
<?php declare(strict_types=1); namespace App\Model\Entity; use Cake\ORM\Entity; /** * Profile Entity * * @property int $id * @property int $user_id * @property int $user_accept_contact_method_id * @property string $first_name * @property string $last_name * @property string $image * @property string $address * @property int $phone * @property boolean $contact_phone * @property boolean $contact_email * @property \Cake\I18n\FrozenTime $created * @property \Cake\I18n\FrozenTime $modified * * @property \App\Model\Entity\User $user * @property \App\Model\Entity\UserAcceptContactMethod $user_accept_contact_method */ class Profile extends Entity { /** * Fields that can be mass assigned using newEntity() or patchEntity(). * * Note that when '*' is set to true, this allows all unspecified fields to * be mass assigned. For security purposes, it is advised to set '*' to false * (or remove it), and explicitly make individual fields accessible as needed. * * @var array */ protected $_accessible = [ 'user_id' => true, 'first_name' => true, 'last_name' => true, 'image' => true, 'address' => true, 'phone' => true, 'contact_phone' => true, 'contact_email' => true, 'created' => true, 'modified' => true, ]; }
Save
true, 'first_name' => true, 'last_name' => true, 'image' => true, 'address' => true, 'phone' => true, 'contact_phone' => true, 'contact_email' => true, 'created' => true, 'modified' => true, ]; }