示例#1
0
 public function validate_url(Module_PageBuilder $m, $arg)
 {
     return $m->validateURL($arg, false);
 }
示例#2
0
文件: Edit.php 项目: sinfocol/gwf3
 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);
 }