private function createTitle()
    {
        $title_parts = pathinfo($this->filename);
        $this->title = $title_parts['filename'];
        $this->title = \kato\helpers\KatoBase::sanitizeFile($this->title);
        $this->title = str_replace('_', ' ', str_replace('-', ' ', $this->title));
        $this->title = ucwords($this->title);
    }
private function createTitle()
    {
        $title_parts = pathinfo($this->filename);
        $this->title = $title_parts['filename'];
        $this->title = \kato\helpers\KatoBase::sanitizeFile($this->title);
        $this->title = str_replace('_', ' ', str_replace('-', ' ', $this->title));
        $this->title = ucwords($this->title);
    }
private function createTitle ( ) { $ title_parts = pathinfo ( $ this -> filename ) ; $ this -> title = $ title_parts [ 'filename' ] ; $ this -> title = \ kato \ helpers \ KatoBase :: sanitizeFile ( $ this -> title ) ; $ this -> title = str_replace ( '_' , ' ' , str_replace ( '-' , ' ' , $ this -> title ) ) ; $ this -> title = ucwords ( $ this -> title ) ; }
Create title for media
Create title for media