public function setLabel($label)
        {
            if (null !== $label && !is_string($label)) {
                throw new Exception(
                        'Invalid argument: $label must be a string or null');
            }

            $this->_label = $label;
            return $this;
        }
public function setLabel($label)
        {
            if (null !== $label && !is_string($label)) {
                throw new Exception(
                        'Invalid argument: $label must be a string or null');
            }

            $this->_label = $label;
            return $this;
        }
public function setLabel ( $ label ) { if ( null !== $ label && ! is_string ( $ label ) ) { throw new Exception ( 'Invalid argument: $label must be a string or null' ) ; } $ this -> _label = $ label ; return $ this ; }
Sets page label

@param  string $label              new page label
@return Page       fluent interface, returns self
@throws Exception  if empty/no string is given
Sets page label