public function TopMost()
    {
        $sql = Access::SqlBuilder();
        $tblArea = Area::Schema()->Table();
        $where = $sql->Equals($tblArea->Field('Layout'), $sql->Value($this->layout->GetID()))
                ->And_($sql->IsNull($tblArea->Field('Previous')));
        
        return Area::Schema()->First($where);
    }
public function TopMost()
    {
        $sql = Access::SqlBuilder();
        $tblArea = Area::Schema()->Table();
        $where = $sql->Equals($tblArea->Field('Layout'), $sql->Value($this->layout->GetID()))
                ->And_($sql->IsNull($tblArea->Field('Previous')));
        
        return Area::Schema()->First($where);
    }
public function TopMost ( ) { $ sql = Access :: SqlBuilder ( ) ; $ tblArea = Area :: Schema ( ) -> Table ( ) ; $ where = $ sql -> Equals ( $ tblArea -> Field ( 'Layout' ) , $ sql -> Value ( $ this -> layout -> GetID ( ) ) ) -> And_ ( $ sql -> IsNull ( $ tblArea -> Field ( 'Previous' ) ) ) ; return Area :: Schema ( ) -> First ( $ where ) ; }
Returns the top most area
@return Area
Returns the top most area