*/
protected $_key;
- /**
- * This function gets the attribute for the action that.
- * it matches.
- *
- * @param string $match the action to match against
- * @param string $attribute the attribute to return ( name, link, title )
- *
- * @return string
- * the attribute that matches the action if any
- */
- public function getActionAttribute($match, $attribute = 'name') {
- $links = &$this->links();
-
- foreach ($link as $action => $item) {
- if ($match & $action) {
- return $item[$attribute];
- }
- }
- return NULL;
- }
-
/**
* This is a static virtual function returning reference on links array. Each
* inherited class must redefine this function