public function loadRow($parentId, $textMD5)
    {
        /** @var $query \eZ\Publish\Core\Persistence\Database\SelectQuery */
        $query = $this->dbHandler->createSelectQuery();
        $query->select('*')->from(
            $this->dbHandler->quoteTable($this->table)
        )->where(
            $query->expr->lAnd(
                $query->expr->eq(
                    $this->dbHandler->quoteColumn('parent'),
                    $query->bindValue($parentId, null, \PDO::PARAM_INT)
                ),
                $query->expr->eq(
                    $this->dbHandler->quoteColumn('text_md5'),
                    $query->bindValue($textMD5, null, \PDO::PARAM_STR)
                )
            )
        );

        $statement = $query->prepare();
        $statement->execute();

        return $statement->fetch(\PDO::FETCH_ASSOC);
    }
public function loadRow($parentId, $textMD5)
    {
        /** @var $query \eZ\Publish\Core\Persistence\Database\SelectQuery */
        $query = $this->dbHandler->createSelectQuery();
        $query->select('*')->from(
            $this->dbHandler->quoteTable($this->table)
        )->where(
            $query->expr->lAnd(
                $query->expr->eq(
                    $this->dbHandler->quoteColumn('parent'),
                    $query->bindValue($parentId, null, \PDO::PARAM_INT)
                ),
                $query->expr->eq(
                    $this->dbHandler->quoteColumn('text_md5'),
                    $query->bindValue($textMD5, null, \PDO::PARAM_STR)
                )
            )
        );

        $statement = $query->prepare();
        $statement->execute();

        return $statement->fetch(\PDO::FETCH_ASSOC);
    }
public function loadRow ( $ parentId , $ textMD5 ) { /** @var $query \eZ\Publish\Core\Persistence\Database\SelectQuery */ $ query = $ this -> dbHandler -> createSelectQuery ( ) ; $ query -> select ( '*' ) -> from ( $ this -> dbHandler -> quoteTable ( $ this -> table ) ) -> where ( $ query -> expr -> lAnd ( $ query -> expr -> eq ( $ this -> dbHandler -> quoteColumn ( 'parent' ) , $ query -> bindValue ( $ parentId , null , \ PDO :: PARAM_INT ) ) , $ query -> expr -> eq ( $ this -> dbHandler -> quoteColumn ( 'text_md5' ) , $ query -> bindValue ( $ textMD5 , null , \ PDO :: PARAM_STR ) ) ) ) ; $ statement = $ query -> prepare ( ) ; $ statement -> execute ( ) ; return $ statement -> fetch ( \ PDO :: FETCH_ASSOC ) ; }
Loads single row data matched by composite primary key.

@param mixed $parentId
@param string $textMD5

@return array
Loads single row data matched by composite primary key .