Cml\Model::getTableName PHP 메소드

getTableName() 공개 메소드

获取表名
public getTableName ( ) : string
리턴 string
    public function getTableName()
    {
        if (is_null($this->table)) {
            $tmp = get_class($this);
            $this->table = strtolower(substr($tmp, strrpos($tmp, '\\') + 1, -5));
        }
        return $this->table;
    }