Example #1
0
 /**
  * Tells if this Table has the $feature
  * Special Features: 'ordered'
  *
  * @param  string  $feature   Feature to check
  * @param  string  $forField  [optional] Field of Table with that feature
  * @return boolean
  */
 public function hasFeature($feature, $forField = null)
 {
     if ($feature == 'ordered' && $forField) {
         return in_array($forField, $this->getPublicProperties(), true);
     }
     return parent::hasFeature($feature, $forField);
 }