classes/Controllers/Base.php
public function title($controller_name = null)
    {
         // For when this is invoked as a getter for $this->title
        if (!$controller_name) {
            return $this->title;
        }

        // Do the de-studlying
        preg_match_all('#[a-z]+|[A-Z][a-z]*#', $controller_name, $matches);

        return implode(" ", $matches[0]);
    }
public function title($controller_name = null)
    {
         // For when this is invoked as a getter for $this->title
        if (!$controller_name) {
            return $this->title;
        }

        // Do the de-studlying
        preg_match_all('#[a-z]+|[A-Z][a-z]*#', $controller_name, $matches);

        return implode(" ", $matches[0]);
    }
public function title ( $ controller_name = null ) { // For when this is invoked as a getter for $this->title if ( ! $ controller_name ) { return $ this -> title ; } // Do the de-studlying preg_match_all ( '#[a-z]+|[A-Z][a-z]*#' , $ controller_name , $ matches ) ; return implode ( " " , $ matches [ 0 ] ) ; }
Get the title for the controller based on the controller name.  Basically,
it's a de-studdly-er

@param  string $controller_name ex: 'Admins' or 'CarLovers'
@return string ex: 'Admins' or 'Car Lovers'
Get the title for the controller based on the controller name . Basically it s a de - studdly - er