Exemplo n.º 1
0
	public static function getByHandle($sclHandle) {
		$db = Loader::db();
		$r = $db->GetRow('select sclHandle, sclIsActive, pkgID, sclName from SystemCaptchaLibraries where sclHandle = ?', array($sclHandle));
		if (is_array($r) && $r['sclHandle']) {
			$sc = new SystemCaptchaLibrary();
			$sc->setPropertiesFromArray($r);
			return $sc;
		}
	}