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; }
public function duplicate() { self::$__object = "Form"; self::$__table = "pcms_form"; return parent::duplicate(); }