Advertisement
Guest User

Untitled

a guest
Jan 15th, 2014
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.48 KB | None | 0 0
  1. public function FormAction() {
  2.         if ($this->formActionPath) {
  3.             return $this->formActionPath;
  4.         } elseif($this->controller->hasMethod("FormObjectLink")) {
  5.             return $this->controller->FormObjectLink($this->name);
  6.         } else {
  7.             file_put_contents("/tmp/test.txt", "3".$this->name.": ".print_r((array)Controller::join_links($this->controller->Link(), $this->name),true)."\n\n\n", FILE_APPEND);
  8.             return Controller::join_links($this->controller->Link(), $this->name);
  9.         }
  10.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement