protected function Value($name)
    {
        if (Request::IsPost())
        {
            return (bool)trim(Request::PostData($this->namePrefix . $name));
        }
        if ($this->Rights())
        {
            return $this->Rights()->$name;
        }
        if ($this->ParentRights())
        {
            return $this->ParentRights()->$name;
        }
        return false;
    }
protected function Value($name)
    {
        if (Request::IsPost())
        {
            return (bool)trim(Request::PostData($this->namePrefix . $name));
        }
        if ($this->Rights())
        {
            return $this->Rights()->$name;
        }
        if ($this->ParentRights())
        {
            return $this->ParentRights()->$name;
        }
        return false;
    }
protected function Value ( $ name ) { if ( Request :: IsPost ( ) ) { return ( bool ) trim ( Request :: PostData ( $ this -> namePrefix . $ name ) ) ; } if ( $ this -> Rights ( ) ) { return $ this -> Rights ( ) -> $ name ; } if ( $ this -> ParentRights ( ) ) { return $ this -> ParentRights ( ) -> $ name ; } return false ; }
Gets the posted value of the name, optional name prefix automatically attached
@param string $name The checkbox name without prefix
Gets the posted value of the name optional name prefix automatically attached