protected function validateEditor()
    {
        $this->setSubmitted('editor', null, false);

        $this->setSubmitted('user_id', $this->uid);
        $this->setSubmitted('path', $this->data_file);
        $this->setSubmitted('module', $this->data_module);

        $this->validateSyntaxEditor();

        return !$this->hasErrors();
    }
protected function validateEditor()
    {
        $this->setSubmitted('editor', null, false);

        $this->setSubmitted('user_id', $this->uid);
        $this->setSubmitted('path', $this->data_file);
        $this->setSubmitted('module', $this->data_module);

        $this->validateSyntaxEditor();

        return !$this->hasErrors();
    }
protected function validateEditor ( ) { $ this -> setSubmitted ( 'editor' , null , false ) ; $ this -> setSubmitted ( 'user_id' , $ this -> uid ) ; $ this -> setSubmitted ( 'path' , $ this -> data_file ) ; $ this -> setSubmitted ( 'module' , $ this -> data_module ) ; $ this -> validateSyntaxEditor ( ) ; return ! $ this -> hasErrors ( ) ; }
Validates a submitted data when editing a theme file
@return bool
Validates a submitted data when editing a theme file