Example #1
0
 public function validate_url(Module_PageBuilder $m, $arg)
 {
     return $m->validateURL($arg, false);
 }
Example #2
0
 public function validate_url(Module_PageBuilder $m, $arg)
 {
     # Allow duplicate URL when it's still the same
     $allow_dups = $this->page->getVar('page_url') === $arg;
     return $m->validateURL($arg, $allow_dups);
 }