on() публичный Метод

Sets the ON clause of a query.
public on ( string $on ) : Query
$on string
Результат Query
Пример #1
0
 /**
  * Sets the right property command based on the $action.
  *
  * @param string $action
  * @param string $class
  * @param string $property
  * @return QueryInterface
  */
 protected function manageProperty($action, $class, $property, $type = null, $linked = null)
 {
     $commandClass = $this->getCommandClass("property." . $action);
     $this->command = new $commandClass($property, $type, $linked);
     $this->command->on($class);
     return $this->command;
 }