Model::setVisible
Set Visible flag name
Description
public self Model::setVisible( string $visible )
Arguments
Name | Data type | Default | Remarks |
---|---|---|---|
$visible | string | Visible flag name |
Example
Controller
$model = new Model();
$model->setVisible('visible');
// Same with the following
$model = new Model(false, array(
'visible' => 'visible',
));