I dont understand the this->something("something_els
Posted: Sat Dec 24, 2005 9:16 pm
Uhm, I really dont know how to search for this, because google gives me no answers when I search for "this->("
I have plenty of code that I'm studying that have contructions like this:
Uhm, generically, how is this topic called? What does the "->" stand for?
Why would $mod be repeated so much? Is this like going from a generic system to (->) a especific function or process?
I'm really lost with this kind of coding structure. I just dont understand and dont actually know how it is called.
I'm not the kind of person that reads a manual and then began coding. I began coding and search the manual when I need too, but now I just dont know what to look for.
Many thanks, and happy hollydays
I have plenty of code that I'm studying that have contructions like this:
Code: Select all
$user = $mod->db->queryOneRecord($sql);
.
.
.
$go_api->uses("isp_web");
.
.
$mod->db->query("update isp_isp_web SET status = '' where doc_id = '$doc_id'");
$mod->system->data["isp_isp_web"][$doc_id]["status"] = "";
.
.
$mod->system->deluser($user_username);
.
.
$this->shortText(&$doc, &$element_val, &$value, $mode);
.
.Why would $mod be repeated so much? Is this like going from a generic system to (->) a especific function or process?
I'm really lost with this kind of coding structure. I just dont understand and dont actually know how it is called.
I'm not the kind of person that reads a manual and then began coding. I began coding and search the manual when I need too, but now I just dont know what to look for.
Many thanks, and happy hollydays