Ejemplo n.º 1
0
 public function valid()
 {
     if (parent::$layout_id !== null && parent::$layout_id !== false) {
         return false;
     }
     return !parent::valid();
 }
 public function valid()
 {
     $type = self::get_type_name();
     if (isset(parent::$layout_id[$type]) && parent::$layout_id[$type] !== null && parent::$layout_id !== false) {
         return false;
     }
     return !parent::valid();
 }
Ejemplo n.º 3
0
 public static function get_layout_id()
 {
     if (self::$layout_id === null) {
         $self = new Types_Helper_Condition_Layouts_Template_Exists();
         $self->valid();
     }
     return self::$layout_id;
 }
 public static function get_layout_id()
 {
     $type = self::get_type_name();
     if (!isset(self::$layout_id[$type])) {
         $self = new Types_Helper_Condition_Layouts_Template_Exists();
         $self->valid();
     }
     return self::$layout_id[$type];
 }