array( 'p' => array( 'name' => 'page', 'type' => 'number' ), 't' => array( 'name' => 'tags' ) ), 'Booru subdomain (subdomain.booru.org)' => array( 'i' => array( 'name' => 'Subdomain', 'required' => true ) ) ); const PIDBYPAGE = 20; public function getURI(){ return 'http://' . $this->getInput('i') . '.booru.org/'; } public function getName(){ if(!is_null($this->getInput('i'))){ return static::NAME . ' ' . $this->getInput('i'); } return parent::getName(); } }