/** * Counts all associated RoleModulesAsModifiedBy * @return int */ public function CountRoleModulesAsModifiedBy() { if (is_null($this->intUserAccountId)) { return 0; } return RoleModule::CountByModifiedBy($this->intUserAccountId); }