예제 #1
0
 public static function selectByAccountId()
 {
     global $_CONF;
     DBA__Object::$__object = "Form";
     DBA__Object::$__table = "pcms_form";
     $strSql = "SELECT * FROM pcms_form WHERE accountId = '{$_CONF['app']['account']->getId()}' ORDER BY sort";
     $objReturn = parent::select($strSql);
     return $objReturn;
 }
예제 #2
0
 public function duplicate()
 {
     self::$__object = "Form";
     self::$__table = "pcms_form";
     return parent::duplicate();
 }