Skip to main content
Version: Fegg 4.x

Model::find

Get rows designated count

Description​

public array Model::find( [ string $options = [] ] )

Arguments​

NameData typeDefaultRemarks
$optionsarray[]Overwrite the options

Example​

Controller
$model = new Model(false, array(
'table' => 'cms_news',
'id' => 'news_id',
'visible' => 'visible',
));

$records = $model->find();