public static function ipBeforePageRemoved($data) { $pageId = $data['pageId']; Model::unbindImages($pageId); }