public static function getStackOptions() { $stacks = Stack::findAll(array('status' => 0)); return ArrayHelper::map($stacks, 'code', 'code'); }