/** * If enable is true, enables caching of file information. If enable is * false caching is disabled.<br /> * <br /> * When caching is enabled, MFileInfo reads the file information from the * file system the first time it's needed, but generally not later.<br /> * <br /> * Caching is enabled by default. * * @param boolean $caching * @return \MToolkit\Core\MFileInfo */ public function setCaching($caching) { MDataType::mustBeBoolean($caching); $this->caching = $caching; return $this; }
/** * The method returns the visibility of the controller. * * @param bool $isVisible * @return \MToolkit\Controller\MAbstractViewController */ public function setIsVisible($isVisible) { MDataType::mustBeBoolean($isVisible); $this->isVisible = $isVisible; return $this; }
public function setSelected($selected) { MDataType::mustBeBoolean($selected); $this->selected = $selected; return $this; }