src/Page/Page.php
public function handleTitle($title)
    {
        if (is_null($request = $this->getRequest()) || empty($this->titles)) {
            return $title;
        }

        if (in_array($action = $request->get('action'), array_keys($this->titles))) {
            return $this->titles[$action];
        }

        return $title;
    }
public function handleTitle($title)
    {
        if (is_null($request = $this->getRequest()) || empty($this->titles)) {
            return $title;
        }

        if (in_array($action = $request->get('action'), array_keys($this->titles))) {
            return $this->titles[$action];
        }

        return $title;
    }
public function handleTitle ( $ title ) { if ( is_null ( $ request = $ this -> getRequest ( ) ) || empty ( $ this -> titles ) ) { return $ title ; } if ( in_array ( $ action = $ request -> get ( 'action' ) , array_keys ( $ this -> titles ) ) ) { return $ this -> titles [ $ action ] ; } return $ title ; }
Called by the "admin_title" filter. Handle the page titles.

@param string $title

@return string
Called by the admin_title filter . Handle the page titles .