<?php

namespace ModHelper;

/**
 * @package ModHelper
 * @since 1.0
 */
class Hooks
{
	protected $hooks = array();
	protected $collection;

	public function execute($add)
	{
		foreach ($collection as list ($hook, $function, $permanent)) {
			if ($add) {
				add_integration_function($hook, $function, $permanent);
			} else {
				remove_integration_function($hook, $function, $permanent);
			}
		}
	}

	protected function add($hook, $function, $permanent = true)
	{
		$this->collection>addValue($hook, $function, $permanent);
	}

	public function __construct()
	{
		$collection = new Collection();
	}

}

Add hook class (no jokes about hookers, please...)
Add hook class (no jokes about hookers, please...)
