예제 #1
0
파일: Put.php 프로젝트: Reinmar/Orient
 /**
  * Returns the formatters for this query's tokens.
  * 
  * @return Array
  */
 protected function getTokenFormatters()
 {
     return array_merge(parent::getTokenFormatters(), array(
         'Name'  => "Congow\Orient\Formatter\Query\Regular",
         'Key'   => "Congow\Orient\Formatter\Query\Regular",
         'Value' => "Congow\Orient\Formatter\Query\EmbeddedRid",
     ));
 }
예제 #2
0
파일: Drop.php 프로젝트: Reinmar/Orient
    /**
     * Creates a new statements to manage indexes on the $property of the given
     * $class.
     *
     * @param string $property
     * @param string $class
     */
    public function __construct($property, $class = null)
    {
        parent::__construct();

        if ($class) {
            $this->setToken('IndexClass', $class);
        }

        $this->setToken('Property', $property);
    }
예제 #3
0
파일: Count.php 프로젝트: Reinmar/Orient
 /**
  * Returns the formatters for this query's tokens.
  *
  * @return Array
  */
 protected function getTokenFormatters()
 {
     return array_merge(parent::getTokenFormatters(), array(
         'Name'  => 'Congow\Orient\Formatter\Query\Regular',
     ));
 }
예제 #4
0
파일: Lookup.php 프로젝트: Reinmar/Orient
 /**
  * Returns the formatters for this query's tokens.
  *
  * @return Array
  */
 protected function getTokenFormatters()
 {
     return array_merge(parent::getTokenFormatters(), array(
         'Index' => "Congow\Orient\Formatter\Query\Regular",
     ));
 }