Go to the documentation of this file.
39 $this->info[
'IAlign'] = self::makeEnum(
'top,middle,bottom,left,right');
40 $this->info[
'LAlign'] = self::makeEnum(
'top,bottom,left,right');
69 if (strpos(
$type,
'#') !==
false) list(
$type, $string) = explode(
'#',
$type, 2);
72 if (!isset($this->info[
$type])) {
73 trigger_error(
'Cannot retrieve undefined attribute type ' . $type, E_USER_ERROR);
77 return $this->info[
$type]->make($string);
86 public function set(
$type, $impl) {
87 $this->info[
$type] = $impl;