Skip to content

Commit

Permalink
add hidden to model
Browse files Browse the repository at this point in the history
  • Loading branch information
tantebootsy committed Mar 23, 2021
1 parent d017991 commit 2433b32
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions Classes/Domain/Model/Address.php
Expand Up @@ -19,6 +19,14 @@
*/
class Address extends \TYPO3\CMS\Extbase\DomainObject\AbstractEntity
{

/**
* Hidden
*
* @var bool
*/
protected $hidden = false;

/**
* Gender
* @var string
Expand Down Expand Up @@ -214,6 +222,27 @@ public function __construct()
$this->image = new ObjectStorage();
}

/**
* sets the hidden attribute
*
* @param boolean $hidden
* @return void
*/
public function setHidden($hidden)
{
$this->hidden = $hidden;
}

/**
* returns the hidden attribute
*
* @return boolean $hidden
*/
public function getHidden()
{
return $this->hidden;
}

/**
* sets the gender attribute
*
Expand Down

0 comments on commit 2433b32

Please sign in to comment.