You are here

public function RedhenOrg::setState in RedHen CRM 7

Set the redhen_state for an organization.

Parameters

string $state: The REDHEN_STATE_* value to use.

File

modules/redhen_org/lib/redhen_org.entity.inc, line 104
Redhen Group entity classes

Class

RedhenOrg
The class used for group entities.

Code

public function setState($state) {
  $this->redhen_state = $state;
  return $this
    ->save();
}