public function setParent($parent) {
		if (! is_object($parent)) {
			throw new WrongParent('Parent of a helper must be an object, "' . gettype($parent) . '" was given');
		}
		
		$this->_parent = $parent;
		
		return $this;
	}
public function setParent($parent) {
		if (! is_object($parent)) {
			throw new WrongParent('Parent of a helper must be an object, "' . gettype($parent) . '" was given');
		}
		
		$this->_parent = $parent;
		
		return $this;
	}
public function setParent ( $ parent ) { if ( ! is_object ( $ parent ) ) { throw new WrongParent ( 'Parent of a helper must be an object, "' . gettype ( $ parent ) . '" was given' ) ; } $ this -> _parent = $ parent ; return $ this ; }
Set a parent

@param  object $parent
@return HelperAbstract
@throws WrongParent
Set a parent