src/TypeQueryTrait.php
/**
     * Creates the full model class name
     * 
     * It uses the query::modelClassNamePattern and typequery::modelClassName
     * methods to create the full classname.
     * 
     * @return string
     */
Creates the full model class name

It uses the query::modelClassNamePattern and typequery::modelClassName
methods to create the full classname.

@return string
Creates the full model class name It uses the query :: modelClassNamePattern and typequery :: modelClassName methods to create the full classname . @return string
protected function _fullModelClass() {
        $baseClassName = $this->modelClassName();
        $classNamePattern = $this->modelClassNamePattern();
        if ($classNamePattern && strpos($classNamePattern, '{type}') !== false) {
            $fullClassName = str_replace("{type}", $baseClassName, $classNamePattern);
        } elseif ($classNamePattern) {
            $fullClassName = "{$classNamePattern}{$baseClassName}";
        } else {
            $fullClassName = "\\{$baseClassName}";
        }
        return $fullClassName;
    }
protected function _fullModelClass ( ) { $ baseClassName = $ this -> modelClassName ( ) ; $ classNamePattern = $ this -> modelClassNamePattern ( ) ; if ( $ classNamePattern && strpos ( $ classNamePattern , '{type}' ) !== false ) { $ fullClassName = str_replace ( " {type} " , $ baseClassName , $ classNamePattern ) ; } elseif ( $ classNamePattern ) { $ fullClassName = " { $ classNamePattern } { $ baseClassName } " ; } else { $ fullClassName = " \\ { $ baseClassName } " ; } return $ fullClassName ; }
Creates the full model class name
Creates the full model class name