예제 #1
0
 public static function extractAttribute($serialized, $extract)
 {
     $arr = array();
     foreach (explode('&', $serialized) as $attr) {
         if (ControllerHelper::startsWith($attr, $extract)) {
             $val = explode('=', $attr);
             array_push($arr, $val[1]);
         }
     }
     return $arr;
 }
예제 #2
0
	public function __construct($controller, $commentClass)
	{
		parent::__construct($controller);
		$this->_commentClass = $commentClass;
	}