controllers/EditorController.php
/**
     * Checks if its a valid edit request
     * 
     * @param array $formParams
     * @return boolean
     */
Checks if its a valid edit request

@param array $formParams
@return boolean
Checks if its a valid edit request @param array $formParams @return boolean
private function isEditRequest(array $formParams) {
        if (!empty($formParams[self::EDIT_ACTION_NAME])) {
            return ($formParams[self::EDIT_ACTION_NAME] === self::EDIT_ACTION_VALUE);
        }
        return false;
    }
private function isEditRequest ( array $ formParams ) { if ( ! empty ( $ formParams [ self :: EDIT_ACTION_NAME ] ) ) { return ( $ formParams [ self :: EDIT_ACTION_NAME ] === self :: EDIT_ACTION_VALUE ) ; } return false ; }
Checks if its a valid edit request
Checks if its a valid edit request