final public function getViewFile($addOthers = true) {
        if ($addOthers) {
            if (!isset($this->viewFile[0]))
                $this->viewFile[0] = ucfirst(Util::hyphenToCamel(engineGet('module')));
            if (!isset($this->viewFile[1]))
                $this->viewFile[1] = Util::camelToHyphen(engineGet('controller'));
            if (!isset($this->viewFile[2]))
                $this->viewFile[2] = Util::camelToHyphen(engineGet('action'));

            ksort($this->viewFile);
        }
        return $this->viewFile;
    }
final public function getViewFile($addOthers = true) {
        if ($addOthers) {
            if (!isset($this->viewFile[0]))
                $this->viewFile[0] = ucfirst(Util::hyphenToCamel(engineGet('module')));
            if (!isset($this->viewFile[1]))
                $this->viewFile[1] = Util::camelToHyphen(engineGet('controller'));
            if (!isset($this->viewFile[2]))
                $this->viewFile[2] = Util::camelToHyphen(engineGet('action'));

            ksort($this->viewFile);
        }
        return $this->viewFile;
    }
final public function getViewFile ( $ addOthers = true ) { if ( $ addOthers ) { if ( ! isset ( $ this -> viewFile [ 0 ] ) ) $ this -> viewFile [ 0 ] = ucfirst ( Util :: hyphenToCamel ( engineGet ( 'module' ) ) ) ; if ( ! isset ( $ this -> viewFile [ 1 ] ) ) $ this -> viewFile [ 1 ] = Util :: camelToHyphen ( engineGet ( 'controller' ) ) ; if ( ! isset ( $ this -> viewFile [ 2 ] ) ) $ this -> viewFile [ 2 ] = Util :: camelToHyphen ( engineGet ( 'action' ) ) ; ksort ( $ this -> viewFile ) ; } return $ this -> viewFile ; }
Fetches the view file array
@param boolean $addOthers Indicates whether to add missing parameters i.e.
module, controller, or action
@return array
Fetches the view file array