Property | Type | Description | |
---|---|---|---|
$eagerLoads | array | ||
$mustReturnAModel | boolean | ||
$subject | Phalcon\Mvc\ModelInterface[] | ||
$subjectClassName | string |
Method | Description | |
---|---|---|
__construct ( Phalcon\Mvc\ModelInterface | Phalcon\Mvc\ModelInterface[] | Phalcon\Mvc\Model\Resultset\Simple $from ) | ||
addEagerLoad ( string $relationAlias, null | callable $constraints = null ) | ||
execute ( ) | ||
from ( Phalcon\Mvc\ModelInterface | Phalcon\Mvc\ModelInterface[] | Phalcon\Mvc\Model\Resultset\Simple $subject ) : mixed | Create and get from a mixed $subject | |
fromArray ( array $subject ) : array | Create and get from an array | |
fromModel ( Phalcon\Mvc\ModelInterface $subject ) : Phalcon\Mvc\ModelInterface | Create and get from a Model | |
fromResultset ( Phalcon\Mvc\Model\Resultset\Simple $subject ) : Phalcon\Mvc\Model\Resultset\Simple | Create and get from a Resultset | |
get ( ) : null | Phalcon\Mvc\ModelInterface[] | Phalcon\Mvc\ModelInterface | ||
getSubject ( ) : null | Phalcon\Mvc\ModelInterface[] | ||
load ( ) | Loader::execute() alias |
Method | Description | |
---|---|---|
buildTree ( ) : Phalcon\Mvc\Model\EagerLoading\EagerLoad[] | Resolves the relations | |
parseArguments ( array $arguments ) : array | Parses the arguments that will be resolved to Relation instances |
public __construct ( Phalcon\Mvc\ModelInterface | Phalcon\Mvc\ModelInterface[] | Phalcon\Mvc\Model\Resultset\Simple $from ) | ||
$from | Phalcon\Mvc\ModelInterface | Phalcon\Mvc\ModelInterface[] | Phalcon\Mvc\Model\Resultset\Simple |
public static fromModel ( Phalcon\Mvc\ModelInterface $subject ) : Phalcon\Mvc\ModelInterface | ||
$subject | Phalcon\Mvc\ModelInterface | |
return | Phalcon\Mvc\ModelInterface |
public static fromResultset ( Phalcon\Mvc\Model\Resultset\Simple $subject ) : Phalcon\Mvc\Model\Resultset\Simple | ||
$subject | Phalcon\Mvc\Model\Resultset\Simple | |
return | Phalcon\Mvc\Model\Resultset\Simple |
public getSubject ( ) : null | Phalcon\Mvc\ModelInterface[] | ||
return | null | Phalcon\Mvc\ModelInterface[] |
protected ModelInterface[],Phalcon\Mvc $subject | ||
return | Phalcon\Mvc\ModelInterface[] |