Former\Form\Group::isRaw PHP Method

isRaw() public method

Check if the current group is to be displayed or not
public isRaw ( ) : boolean
return boolean
    public function isRaw()
    {
        return (bool) $this->raw;
    }

Usage Example

示例#1
0
文件: Field.php 项目: autocar/former
 /**
  * Check if a field is unwrappable (no label)
  *
  * @return boolean
  */
 public function isUnwrappable()
 {
     return $this->form and $this->currentFramework()->is('Nude') or $this->form and $this->isOfType('inline') or $this->isButton() or $this->isOfType('hidden') or \Former\Form\Group::$opened or $this->group and $this->group->isRaw();
 }