public function createNamesQuery()
    {
        $query = $this->dbHandler->createSelectQuery();
        $query
            ->select(
                $this->dbHandler->aliasedColumn($query, 'contentobject_id', 'ezcontentobject_name'),
                $this->dbHandler->aliasedColumn($query, 'content_version', 'ezcontentobject_name'),
                $this->dbHandler->aliasedColumn($query, 'name', 'ezcontentobject_name'),
                $this->dbHandler->aliasedColumn($query, 'content_translation', 'ezcontentobject_name')
            )
            ->from($this->dbHandler->quoteTable('ezcontentobject_name'));

        return $query;
    }
public function createNamesQuery()
    {
        $query = $this->dbHandler->createSelectQuery();
        $query
            ->select(
                $this->dbHandler->aliasedColumn($query, 'contentobject_id', 'ezcontentobject_name'),
                $this->dbHandler->aliasedColumn($query, 'content_version', 'ezcontentobject_name'),
                $this->dbHandler->aliasedColumn($query, 'name', 'ezcontentobject_name'),
                $this->dbHandler->aliasedColumn($query, 'content_translation', 'ezcontentobject_name')
            )
            ->from($this->dbHandler->quoteTable('ezcontentobject_name'));

        return $query;
    }
public function createNamesQuery ( ) { $ query = $ this -> dbHandler -> createSelectQuery ( ) ; $ query -> select ( $ this -> dbHandler -> aliasedColumn ( $ query , 'contentobject_id' , 'ezcontentobject_name' ) , $ this -> dbHandler -> aliasedColumn ( $ query , 'content_version' , 'ezcontentobject_name' ) , $ this -> dbHandler -> aliasedColumn ( $ query , 'name' , 'ezcontentobject_name' ) , $ this -> dbHandler -> aliasedColumn ( $ query , 'content_translation' , 'ezcontentobject_name' ) ) -> from ( $ this -> dbHandler -> quoteTable ( 'ezcontentobject_name' ) ) ; return $ query ; }
Create select query to query content name data.

@return \eZ\Publish\Core\Persistence\Database\SelectQuery
Create select query to query content name data .