public function isReadOnly($isReadOnly = true)
    {
        //====================================================================//
        // Safety Checks ==> Verify a new Field Exists
        if (empty($this->new)) {
            Splash::log()->err("ErrFieldsNoNew");
        } elseif ($isReadOnly) {
            //====================================================================//
            // Update New Field structure
            $this->new->read = true;
            $this->new->write = false;
        }

        return $this;
    }
public function isReadOnly($isReadOnly = true)
    {
        //====================================================================//
        // Safety Checks ==> Verify a new Field Exists
        if (empty($this->new)) {
            Splash::log()->err("ErrFieldsNoNew");
        } elseif ($isReadOnly) {
            //====================================================================//
            // Update New Field structure
            $this->new->read = true;
            $this->new->write = false;
        }

        return $this;
    }
public function isReadOnly ( $ isReadOnly = true ) { //====================================================================// // Safety Checks ==> Verify a new Field Exists if ( empty ( $ this -> new ) ) { Splash :: log ( ) -> err ( "ErrFieldsNoNew" ) ; } elseif ( $ isReadOnly ) { //====================================================================// // Update New Field structure $ this -> new -> read = true ; $ this -> new -> write = false ; } return $ this ; }
Update Current New Field set as Read Only Field

@param null|bool $isReadOnly

@return $this
Update Current New Field set as Read Only Field