/** * Builds a new statement, setting the $class. * * @param string $class * @param string $from * @param string $to */ public function __construct($class, $from, $to) { parent::__construct(); $this->setToken('Class', $class); $this->setToken('From', $from); $this->setToken('To', $to); }
/** * Builds a Select object injecting the $target into the FROM clause. * * @param array $target */ public function __construct(array $target = null) { parent::__construct(); if ($target) { $this->setTokenValues('Target', $target); } }
/** * Sets the source of the link, its $alias and if the link must be $reverse. * * @param string $class * @param string $property * @param string $alias * @param boolean $inverse */ public function __construct($class, $property, $alias, $inverse = false) { parent::__construct(); $this->setToken('SourceClass', $class); $this->setToken('SourceProperty', $property); $this->setToken('Name', $alias); if ($inverse) { $this->setToken('Inverse', 'INVERSE'); } }
/** * Builds a new statement, setting the class in which the records are gonna * be deleted. * * @param string $from */ public function __construct($from) { parent::__construct(); $this->setClass($from); }
/** * Builds a new statement setting the $property to manipulate. * * @param <type> $property */ public function __construct($property) { parent::__construct(); $this->setProperty($property); }
/** * Creates a new object, setting the $rid to lookup. * * @param string $rid */ public function __construct($rid) { parent::__construct(); $this->setRid($rid); }
/** * Builds a new statement, setting the $class. * * @param string $class */ public function __construct($class) { parent::__construct(); $this->setToken('Class', $class); }
/** * Creates a new statement, setting the $permission. * * @param string $permission */ public function __construct($permission) { parent::__construct(); $this->permission($permission); }
public function __construct($name) { parent::__construct(); $this->setToken('Name', $name); }
/** * Builds a new statement, setting the $class. * * @param string $class * @param string $cluster */ public function __construct($class, $cluster = '') { parent::__construct(); $this->setToken('Class', $class); $this->setToken('Cluster', $cluster); }
public function __construct($rid) { parent::__construct(); $this->setToken('Rid', $rid); }