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(); }
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]; }