LimeSurvey API - Master branch

StaticModel extends CModel
in package

Class StaticModel A general class to use in case of non-db models

Table of Contents

Methods

attributeNames()  : mixed
{@inheritdoc}
findOne()  : null|static
modelsAttributes()  : array<string|int, mixed>
Models attributes as array indexed by primary key

Methods

attributeNames()

{@inheritdoc}

public attributeNames() : mixed

findOne()

public static findOne(string $pk) : null|static
Parameters
$pk : string

primary key of model

Return values
null|static

modelsAttributes()

Models attributes as array indexed by primary key

public static modelsAttributes() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results