Esempio n. 1
0
 /**
  * @todo need to get rid of this mess once fields component is working
  */
 private function refresh_style_property()
 {
     // set to null in case it should not exist anymore
     $this->__style_property__ = null;
     // must have selector and property
     if ($this->style_selector && $this->style_property) {
         // setup property object
         $this->__style_property__ = ICE_Style_Property_Factory::instance()->create($this->style_property);
     }
 }
Esempio n. 2
0
 /**
  * Return the singleton instance
  *
  * @return ICE_Style_Property_Factory
  */
 public static final function instance()
 {
     if (!self::$instance instanceof self) {
         self::$instance = new self();
     }
     return self::$instance;
 }