58 if (is_object($user)) {
69 $this->user =
$member_handler->loginUser(addslashes($username), addslashes($password));
70 if (!is_object($this->user)) {
75 if (!
$moduleperm_handler->checkRight(
'module_read', $this->module->getVar(
'mid'), $this->user->getGroups())) {
87 if (!is_object($this->user)) {
90 if (!$this->user->isAdmin($this->module->getVar(
'mid'))) {
93 $this->isadmin =
true;
100 $ret[
'title'] = array(
'required' =>
true,
'form_type' =>
'textbox',
'value_type' =>
'text');
101 $ret[
'hometext'] = array(
'required' =>
false,
'form_type' =>
'textarea',
'data_type' =>
'textarea');
102 $ret[
'moretext'] = array(
'required' =>
false,
'form_type' =>
'textarea',
'data_type' =>
'textarea');
103 $ret[
'categories'] = array(
'required' =>
false,
'form_type' =>
'select_multi',
'data_type' =>
'array');
126 if (trim($blogtag) !=
'') {
127 $this->xoopsTagMap[$xoopstag] = $blogtag;
133 if (isset($this->xoopsTagMap[$xoopstag])) {
134 return $this->xoopsTagMap[$xoopstag];
143 if (preg_match(
"/<" . $tag .
">(.*)<\/" . $tag .
">/is",
$text, $match)) {
156 if (strtolower(get_class($this)) !=
'xoopsapi') {
if($uname== ''||$pass== '') $member_handler
_getTagCdata(&$text, $tag, $remove=true)
XoopsXmlRpcApi(array &$params, XoopsXmlRpcResponse &$response, XoopsModule &$module)
_getPostFields($post_id=null, $blog_id=null)
if(DIRECTORY_SEPARATOR!="/") $xoops_root_path
_getXoopsTagMap($xoopstag)
_checkUser($username, $password)
_setXoopsTagMap($xoopstag, $blogtag)
_setUser(XoopsUser &$user, $isadmin=false)