public registerFeature ( integer $Feature, mixed $Meta = true ) | ||
$Feature | integer | One of the feature constants. |
$Meta | mixed | An optional data to return when calling HasFeature. default true. |
public function registerFeature($Feature, $Meta = true)
{
$this->features[$Feature] = $Meta;
}