Class Socialveo\Core\models\CustomFields

InheritanceSocialveo\Core\models\CustomFields » Phalcon\Mvc\Model

Class CustomFields

Public Properties

Hide inherited properties

PropertyTypeDescriptionDefined By
$sourceTable string Socialveo\Core\models\CustomFields

Protected Methods

Hide inherited methods

MethodDescriptionDefined By
getSourceTable() Returns the source table Socialveo\Core\models\CustomFields

Property Details

$sourceTable public static property
public static string $sourceTable null

Method Details

getSource() public method (available since version 1.0)

Define table mapping

public string getSource ( )
getSourceTable() protected method (available since version 1.0)

Returns the source table

protected Socialveo\Core\models\User getSourceTable ( $table )
setSourceTable() public method (available since version 1.0)

Set source table

public void setSourceTable ( $source )
$source string
single() public static method (available since version 1.0)

Find or create model

public static Phalcon\Mvc\Model|Socialveo\Core\models\CustomFields single ( $id )
$id integer
toJson() public method

Convert to json

public array toJson ( )