classes/ModelYamlModel.php
protected function getFilePath()
    {
        $fileName = trim($this->fileName);
        if (!strlen($fileName)) {
            throw new SystemException('The form model file name is not set.');
        }

        $fileName = $this->addExtension($fileName);

        return $this->getPluginCodeObj()->toPluginDirectoryPath().'/models/'.strtolower($this->getModelClassName()).'/'.$fileName;
    }
protected function getFilePath()
    {
        $fileName = trim($this->fileName);
        if (!strlen($fileName)) {
            throw new SystemException('The form model file name is not set.');
        }

        $fileName = $this->addExtension($fileName);

        return $this->getPluginCodeObj()->toPluginDirectoryPath().'/models/'.strtolower($this->getModelClassName()).'/'.$fileName;
    }
protected function getFilePath ( ) { $ fileName = trim ( $ this -> fileName ) ; if ( ! strlen ( $ fileName ) ) { throw new SystemException ( 'The form model file name is not set.' ) ; } $ fileName = $ this -> addExtension ( $ fileName ) ; return $ this -> getPluginCodeObj ( ) -> toPluginDirectoryPath ( ) . '/models/' . strtolower ( $ this -> getModelClassName ( ) ) . '/' . $ fileName ; }
Returns a file path to save the model to.
@return string Returns a path.
Returns a file path to save the model to .