Exemple #1
0
 public function toHtml(array $_ = array(), array $__ = array())
 {
     if (!$this->isVisible()) {
         return true;
     }
     $callbacks = array(array('cb' => 'getHtmlInputTextarea', 'name' => 'text', 'label' => 'Key=value pairs', 'value' => $this->getText(), 'help' => 'Lines started with semi-colons [;] are comments.'));
     parent::toHtml(array('title' => 'Properties'), $callbacks);
 }
Exemple #2
0
 public function toHtml(array $_ = array(), array $__ = array())
 {
     if (!$this->isVisible()) {
         return true;
     }
     $callbacks = array(array('cb' => 'getHtmlFailOnError'), array('cb' => 'getHtmlInputText', 'name' => 'file', 'value' => $this->getFile()), array('cb' => 'getHtmlInputText', 'name' => 'toFile', 'label' => 'Destination file', 'value' => $this->getToFile()), array('cb' => 'getHtmlInputText', 'name' => 'toDir', 'label' => 'Destination dir', 'value' => $this->getToDir()), array('cb' => 'getFilesets'));
     parent::toHtml(array('title' => 'Copy'), $callbacks);
 }
Exemple #3
0
 public function toHtml(array $_ = array(), array $__ = array())
 {
     if (!$this->isVisible()) {
         return true;
     }
     $callbacks = array(array('cb' => 'getHtmlInputText', 'name' => 'name', 'value' => $this->getName()), array('cb' => 'getHtmlInputText', 'name' => 'value', 'value' => $this->getValue()));
     parent::toHtml(array('title' => 'Property'), $callbacks);
 }
Exemple #4
0
 public function toHtml(array $_ = array(), array $__ = array())
 {
     if (!$this->isVisible()) {
         return true;
     }
     $callbacks = array(array('cb' => 'getHtmlFailOnError'), array('cb' => 'getFilesets'));
     parent::toHtml(array('title' => 'PerlSyntax'), $callbacks);
 }
Exemple #5
0
 public function toHtml(array $_ = array(), array $__ = array())
 {
     if (!$this->isVisible()) {
         return true;
     }
     $callbacks = array(array('cb' => 'getHtmlFailOnError'), array('cb' => 'getHtmlInputText', 'name' => 'includeDirs', 'label' => 'Include dirs', 'value' => $this->getIncludeDirs(), 'help' => 'Space separated.'), array('cb' => 'getHtmlInputText', 'name' => 'excludeDirs', 'label' => 'Exclude dirs', 'value' => $this->getExcludeDirs(), 'help' => 'Space separated.'), array('cb' => 'getHtmlInputText', 'name' => 'excludePackages', 'label' => 'Exclude packages', 'value' => $this->getExcludePackages(), 'help' => 'Space separated.'));
     parent::toHtml(array('title' => 'PhpDepend'), $callbacks);
 }
 public function toHtml(array $_ = array(), array $__ = array())
 {
     if (!$this->isVisible()) {
         return true;
     }
     $callbacks = array(array('cb' => 'getHtmlFailOnError'), array('cb' => 'getHtmlInputText', 'name' => 'fileExtensions', 'label' => 'Allowed file extensions', 'value' => $this->getFileExtensions(), 'help' => 'No dots, and space separated.'), array('cb' => 'getHtmlInputText', 'name' => 'files', 'label' => 'Files or dirs to include', 'value' => $this->getFiles(), 'help' => 'Space separated.'), array('cb' => 'getHtmlInputText', 'name' => 'standard', 'value' => $this->getStandard()), array('cb' => 'getHtmlInputText', 'name' => 'sniffs', 'label' => 'Limited to these sniffs', 'value' => $this->getSniffs(), 'help' => 'Must be in chosen standard.'));
     parent::toHtml(array('title' => 'PhpCodeSniffer'), $callbacks);
 }
Exemple #7
0
 public function toHtml(array $_ = array(), array $__ = array())
 {
     if (!$this->isVisible()) {
         return true;
     }
     $callbacks = array(array('cb' => 'getHtmlFailOnError'), array('cb' => 'getHtmlInputText', 'name' => 'mode', 'value' => $this->getMode(), 'help' => 'e.g., 755, 644, 640, etc.'), array('cb' => 'getFilesets'));
     parent::toHtml(array('title' => 'Chmod'), $callbacks);
 }
Exemple #8
0
 public function toHtml(array $_ = array(), array $__ = array())
 {
     if (!$this->isVisible()) {
         return true;
     }
     $callbacks = array(array('cb' => 'getHtmlInputText', 'name' => 'executable', 'value' => $this->getExecutable()), array('cb' => 'getHtmlInputText', 'name' => 'args', 'value' => $this->getArgs(), 'help' => 'Space separated.'), array('cb' => 'getHtmlInputText', 'name' => 'basedir', 'label' => 'Base dir', 'value' => $this->getBaseDir()), array('cb' => 'getHtmlInputText', 'name' => 'outputProperty', 'label' => 'Output property', 'value' => $this->getOutputProperty()));
     parent::toHtml(array('title' => 'Exec'), $callbacks);
 }
Exemple #9
0
 public function toHtml(array $_ = array(), array $__ = array())
 {
     if (!$this->isVisible()) {
         return true;
     }
     $callbacks = array(array('cb' => 'getHtmlInputText', 'name' => 'message', 'value' => $this->getMessage()), array('cb' => 'getHtmlInputText', 'name' => 'file', 'value' => $this->getFile()), array('cb' => 'getHtmlInputCheckbox', 'name' => 'append', 'value' => '', 'checked' => $this->getAppend() ? 'checked' : ''));
     parent::toHtml(array('title' => 'Echo'), $callbacks);
 }
Exemple #10
0
 public function toHtml(array $_ = array(), array $__ = array())
 {
     if (!$this->isVisible()) {
         return true;
     }
     $callbacks = array(array('cb' => 'getHtmlFailOnError'), array('cb' => 'getHtmlInputCheckbox', 'name' => 'failOnFailure', 'label' => 'Fail on failure?', 'value' => '', 'checked' => $this->getFailOnFailure()), array('cb' => 'getHtmlInputCheckbox', 'name' => 'failOnIncomplete', 'label' => 'Fail on incomplete?', 'value' => '', 'checked' => $this->getFailOnIncomplete()), array('cb' => 'getHtmlInputCheckbox', 'name' => 'failOnSkipped', 'label' => 'Fail on skipped?', 'value' => '', 'checked' => $this->getFailOnSkipped()), array('cb' => 'getHtmlInputText', 'name' => 'bootstrapFile', 'label' => 'Bootstrap file', 'value' => $this->getBootstrapFile()), array('cb' => 'getFilesets'));
     parent::toHtml(array('title' => 'PhpUnit'), $callbacks);
 }
Exemple #11
0
 public function toHtml(array $_ = array(), array $__ = array())
 {
     if (!$this->isVisible()) {
         return true;
     }
     $callbacks = array(array('cb' => 'getHtmlFailOnError'), array('cb' => 'getHtmlInputCheckbox', 'name' => 'includeEmptyDirs', 'label' => 'Include empty dirs?', 'value' => '', 'checked' => $this->getIncludeEmptyDirs()), array('cb' => 'getFilesets'));
     parent::toHtml(array('title' => 'Delete'), $callbacks);
 }
Exemple #12
0
 public function toHtml(array $_ = array(), array $__ = array())
 {
     if (!$this->isVisible()) {
         return true;
     }
     $callbacks = array(array('cb' => 'getHtmlFailOnError'), array('cb' => 'getHtmlInputText', 'name' => 'user', 'value' => $this->getUser(), 'help' => 'Or user.group.'), array('cb' => 'getFilesets'));
     parent::toHtml(array('title' => 'Chown'), $callbacks);
 }
Exemple #13
0
 public function toHtml(array $_ = array(), array $__ = array())
 {
     if (!$this->isVisible()) {
         return '';
     }
     $callbacks = array(array('cb' => 'getHtmlFailOnError'), array('cb' => 'getHtmlInputText', 'name' => 'match', 'value' => html_entity_decode($this->getMatch(), ENT_QUOTES), 'help' => 'The regular expression pattern to match in the file(s), PCRE compatible. Regexes should be PHP PCRE for the integration builder or any other for the deployment builder.'), array('cb' => 'getHtmlInputText', 'name' => 'replace', 'value' => html_entity_decode($this->getReplace(), ENT_QUOTES), 'help' => 'The substitution pattern to place in the file(s). Regexes should be PHP PCRE for the integration builder or any other for the deployment builder.'), array('cb' => 'getHtmlInputText', 'name' => 'flags', 'value' => $this->getFlags(), 'help' => 'The flags of the regexp engine. For the integration builder use PHP PCRE: g (global), i (case insensitive), m (multiline) and s (singleline).'), array('cb' => 'getHtmlInputText', 'name' => 'file', 'value' => $this->getFile()), array('cb' => 'getFilesets'));
     parent::toHtml(array('title' => 'ReplaceRegexp'), $callbacks);
 }