Exemplo n.º 1
0
 /**
  * setup Page ActionForm. Add FormProperties and FieldProperties
  *
  * @param Xcck_PageEditForm  &$actionForm
  * @param string	$dirname
  * @param string	$dataname	Page/Definition
  *
  * @return  void
  */
 public static function getActionForm(&$actionForm, $dirname, $dataname)
 {
     require_once XCCK_TRUST_PATH . '/class/AssetManager.class.php';
     $asset = Xcck_AssetManager::getInstance($dirname);
     $actionForm = $asset->getObject('form', ucfirst($dataname), false, 'edit');
     $actionForm->prepare($dirname);
 }
Exemplo n.º 2
0
 /**
  * getManager
  * 
  * @param	Xcck_AssetManager  &$obj
  * @param	string	$dirname
  * 
  * @return	void
  **/
 public static function getManager(&$obj, $dirname)
 {
     require_once XCCK_TRUST_PATH . '/class/AssetManager.class.php';
     $obj = Xcck_AssetManager::getInstance($dirname);
 }