Lines Matching defs:key
152 * The key identifier in the {@link CallStack}
155 private $key;
161 public function __construct(&$call, $key = "")
164 $this->key = $key;
595 function &addAttribute($key, $value)
599 $this->call[1][1][PluginUtility::ATTRIBUTES][$key] = $value;
601 return $this->call[1][1][PluginUtility::ATTRIBUTES][$key];
634 $name = $this->key;
662 * @param $key
667 function &getAttribute($key, $default = null)
670 if (isset($attributes[$key])) {
671 return $attributes[$key];
718 * @return mixed|string the position (ie key) in the array
723 return $this->key;
796 * @param $key
800 function removeAttribute($key)
804 if (isset($data[PluginUtility::ATTRIBUTES][$key])) {
805 $value = $data[PluginUtility::ATTRIBUTES][$key];
806 unset($data[PluginUtility::ATTRIBUTES][$key]);
810 if ($this->getType() == $key) {
853 function addCssStyle($key, $value)
856 $cssValue = "$key:$value";
970 function getAttributeAndRemove(string $key)
972 $value = $this->getAttribute($key);
973 $this->removeAttribute($key);