PHP Class Gc\Property\Value\Model

Inheritance: extends Gc\Db\AbstractTable
Afficher le fichier Open project: gotcms/gotcms Class Usage Examples

Protected Properties

Свойство Type Description
$name string Table name

Méthodes publiques

Méthode Description
fromArray ( array $array ) : Model Initialize from array
fromId ( integer $propertyValueId ) : Model | boolean Initialize from id
load ( integer $valueId = null, integer $documentId = null, integer $propertyId = null ) : Model Load property value
save ( ) : integer Save property value

Method Details

fromArray() public static méthode

Initialize from array
public static fromArray ( array $array ) : Model
$array array Data
Résultat Model

fromId() public static méthode

Initialize from id
public static fromId ( integer $propertyValueId ) : Model | boolean
$propertyValueId integer Property value id
Résultat Model | boolean

load() public méthode

Load property value
public load ( integer $valueId = null, integer $documentId = null, integer $propertyId = null ) : Model
$valueId integer Optional value id
$documentId integer Optional document id
$propertyId integer Optional property id
Résultat Model

save() public méthode

Save property value
public save ( ) : integer
Résultat integer

Property Details

$name protected_oe property

Table name
protected string $name
Résultat string