コード例 #1
0
ファイル: Query.php プロジェクト: brucewu16899/routeros
 /**
  * Adds a condition.
  * 
  * @param string $name   The name of the property to test.
  * @param string $value  The value to test against. Not required for
  *     existence tests.
  * @param string $action One of the ACTION_* constants. Describes the
  *     operation to perform.
  * 
  * @return self|Query The query object.
  */
 protected function addWhere($name, $value, $action)
 {
     $this->words[] = array(static::sanitizeAction($action) . Message::sanitizeArgumentName($name), null === $value ? null : Message::sanitizeArgumentValue($value));
     return $this;
 }
コード例 #2
0
ファイル: Request.php プロジェクト: brucewu16899/routeros
 /**
  * Removes all arguments from the request.
  * 
  * @return self|Request The request object.
  */
 public function removeAllArguments()
 {
     return parent::removeAllArguments();
 }