private function FindWording($name)
    {
        if (!$this->Content()->Exists()) {
            return null;
        }
        $sql = Access::SqlBuilder();
        $tblWording = ContentWording::Schema()->Table();
        $where = $sql->Equals($tblWording->Field('Content'), $sql->Value($this->Content()->GetID()))
                ->And_($sql->Equals($tblWording->Field('Placeholder'), $sql->Value($name)));

        return ContentWording::Schema()->First($where);
    }
private function FindWording($name)
    {
        if (!$this->Content()->Exists()) {
            return null;
        }
        $sql = Access::SqlBuilder();
        $tblWording = ContentWording::Schema()->Table();
        $where = $sql->Equals($tblWording->Field('Content'), $sql->Value($this->Content()->GetID()))
                ->And_($sql->Equals($tblWording->Field('Placeholder'), $sql->Value($name)));

        return ContentWording::Schema()->First($where);
    }
private function FindWording ( $ name ) { if ( ! $ this -> Content ( ) -> Exists ( ) ) { return null ; } $ sql = Access :: SqlBuilder ( ) ; $ tblWording = ContentWording :: Schema ( ) -> Table ( ) ; $ where = $ sql -> Equals ( $ tblWording -> Field ( 'Content' ) , $ sql -> Value ( $ this -> Content ( ) -> GetID ( ) ) ) -> And_ ( $ sql -> Equals ( $ tblWording -> Field ( 'Placeholder' ) , $ sql -> Value ( $ name ) ) ) ; return ContentWording :: Schema ( ) -> First ( $ where ) ; }
Finds the wording with the given placeholder name
@param string $name The placeholder name
@return ContentWording Gets the matching content wording
Finds the wording with the given placeholder name