classes/ModelYamlModel.php
public function getDisplayName($nameFallback)
    {
        $fileName = $this->fileName;

        if (substr($fileName, -5) == '.yaml') {
            $fileName = substr($fileName, 0, -5);
        }

        if (!strlen($fileName)) {
            $fileName = $nameFallback;
        }

        return $this->getModelClassName().'/'.$fileName;
    }
public function getDisplayName($nameFallback)
    {
        $fileName = $this->fileName;

        if (substr($fileName, -5) == '.yaml') {
            $fileName = substr($fileName, 0, -5);
        }

        if (!strlen($fileName)) {
            $fileName = $nameFallback;
        }

        return $this->getModelClassName().'/'.$fileName;
    }
public function getDisplayName ( $ nameFallback ) { $ fileName = $ this -> fileName ; if ( substr ( $ fileName , - 5 ) == '.yaml' ) { $ fileName = substr ( $ fileName , 0 , - 5 ) ; } if ( ! strlen ( $ fileName ) ) { $ fileName = $ nameFallback ; } return $ this -> getModelClassName ( ) . '/' . $ fileName ; }
Returns a string suitable for displaying in the Builder UI tabs.
Returns a string suitable for displaying in the Builder UI tabs .