How to use DocString class

Best Cucumber Common Library code snippet using DocString

index.php

Source:index.php Github

copy

Full Screen

1<?php2/*3+---------------------------------------------------------------------------+4| OpenX v2.8 |5| ========== |6| |7| Copyright (c) 2003-2009 OpenX Limited |8| For contact details, see: http://www.openx.org/ |9| |10| This program is free software; you can redistribute it and/or modify |11| it under the terms of the GNU General Public License as published by |12| the Free Software Foundation; either version 2 of the License, or |13| (at your option) any later version. |14| |15| This program is distributed in the hope that it will be useful, |16| but WITHOUT ANY WARRANTY; without even the implied warranty of |17| MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |18| GNU General Public License for more details. |19| |20| You should have received a copy of the GNU General Public License |21| along with this program; if not, write to the Free Software |22| Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |23+---------------------------------------------------------------------------+24$Id: index.php 47749 2009-12-23 21:08:35Z post_commit $25*/26/**27 * This file creates the dispatch map by merging core and plugin dispatch maps28 * and starts the XML-RPC server.29 */30require_once '../../../../init.php';31require_once LIB_PATH . '/Plugin/Component.php';32require_once 'XmlRpcFrontController.php';33$fc = new XmlrpcFrontController();34// OpenX Core Dispatch map35$dispatches = array(36 // Logon37 'ox.logon' => array(38 'function' => array($fc, 'logon'),39 'signature' => array(40 array('string', 'string', 'string')41 ),42 'docstring' => 'Logon method'43 ),44 'ox.logoff' => array(45 'function' => array($fc, 'logoff'),46 'signature' => array(47 array('bool', 'string')48 ),49 'docstring' => 'Logoff method'50 ),51 // Advertiser functions52 'ox.addAdvertiser' => array(53 'function' => array($fc, 'addAdvertiser'),54 'signature' => array(55 array('int', 'string', 'struct')56 ),57 'docstring' => 'Add advertiser'58 ),59 'ox.modifyAdvertiser' => array(60 'function' => array($fc, 'modifyAdvertiser'),61 'signature' => array(62 array('int', 'string', 'struct')63 ),64 'docstring' => 'Modify advertiser information'65 ),66 'ox.deleteAdvertiser' => array(67 'function' => array($fc, 'deleteAdvertiser'),68 'signature' => array(69 array('int', 'string', 'int')70 ),71 'docstring' => 'Delete advertiser'72 ),73 'ox.advertiserDailyStatistics' => array(74 'function' => array($fc, 'advertiserDailyStatistics'),75 'signature' => array(76 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601', 'boolean'),77 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601'),78 array('array', 'string', 'int', 'dateTime.iso8601'),79 array('array', 'string', 'int')80 ),81 'docstring' => 'Generate Advertiser Daily Statistics'82 ),83 'ox.advertiserCampaignStatistics' => array(84 'function' => array($fc, 'advertiserCampaignStatistics'),85 'signature' => array(86 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601', 'boolean'),87 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601'),88 array('array', 'string', 'int', 'dateTime.iso8601'),89 array('array', 'string', 'int')90 ),91 'docstring' => 'Generate Advertiser Campaign Statistics'92 ),93 'ox.advertiserBannerStatistics' => array(94 'function' => array($fc, 'advertiserBannerStatistics'),95 'signature' => array(96 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601', 'boolean'),97 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601'),98 array('array', 'string', 'int', 'dateTime.iso8601'),99 array('array', 'string', 'int')100 ),101 'docstring' => 'Generate Advertiser Banner Statistics'102 ),103 'ox.advertiserPublisherStatistics' => array(104 'function' => array($fc, 'advertiserPublisherStatistics'),105 'signature' => array(106 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601', 'boolean'),107 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601'),108 array('array', 'string', 'int', 'dateTime.iso8601'),109 array('array', 'string', 'int')110 ),111 'docstring' => 'Generate Advertiser Publisher Statistics'112 ),113 'ox.advertiserZoneStatistics' => array(114 'function' => array($fc, 'advertiserZoneStatistics'),115 'signature' => array(116 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601', 'boolean'),117 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601'),118 array('array', 'string', 'int', 'dateTime.iso8601'),119 array('array', 'string', 'int')120 ),121 'docstring' => 'Generate Advertiser Zone Statistics'122 ),123 'ox.getAdvertiser' => array(124 'function' => array($fc, 'getAdvertiser'),125 'signature' => array(126 array('struct', 'string', 'int')127 ),128 'docstring' => 'Get Advertiser Information'129 ),130 'ox.getAdvertiserListByAgencyId' => array(131 'function' => array($fc, 'getAdvertiserListByAgencyId'),132 'signature' => array(133 array('array', 'string', 'int')134 ),135 'docstring' => 'Get Advertiser List By Agency Id'136 ),137 // Agency functions138 'ox.addAgency' => array(139 'function' => array($fc, 'addAgency'),140 'signature' => array(141 array('int', 'string', 'struct')142 ),143 'docstring' => 'Add agency'144 ),145 'ox.modifyAgency' => array(146 'function' => array($fc, 'modifyAgency'),147 'signature' => array(148 array('int', 'string', 'struct')149 ),150 'docstring' => 'Modify agency information'151 ),152 'ox.deleteAgency' => array(153 'function' => array($fc, 'deleteAgency'),154 'signature' => array(155 array('int', 'string', 'int')156 ),157 'docstring' => 'Delete agency'158 ),159 'ox.agencyDailyStatistics' => array(160 'function' => array($fc, 'agencyDailyStatistics'),161 'signature' => array(162 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601', 'boolean'),163 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601'),164 array('array', 'string', 'int', 'dateTime.iso8601'),165 array('array', 'string', 'int')166 ),167 'docstring' => 'Generate Agency Daily Statistics'168 ),169 'ox.agencyAdvertiserStatistics' => array(170 'function' => array($fc, 'agencyAdvertiserStatistics'),171 'signature' => array(172 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601', 'boolean'),173 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601'),174 array('array', 'string', 'int', 'dateTime.iso8601'),175 array('array', 'string', 'int')176 ),177 'docstring' => 'Generate Agency Advertiser Statistics'178 ),179 'ox.agencyCampaignStatistics' => array(180 'function' => array($fc, 'agencyCampaignStatistics'),181 'signature' => array(182 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601', 'boolean'),183 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601'),184 array('array', 'string', 'int', 'dateTime.iso8601'),185 array('array', 'string', 'int')186 ),187 'docstring' => 'Generate Agency Campaign Statistics'188 ),189 'ox.agencyBannerStatistics' => array(190 'function' => array($fc, 'agencyBannerStatistics'),191 'signature' => array(192 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601', 'boolean'),193 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601'),194 array('array', 'string', 'int', 'dateTime.iso8601'),195 array('array', 'string', 'int')196 ),197 'docstring' => 'Generate Agency Banner Statistics'198 ),199 'ox.agencyPublisherStatistics' => array(200 'function' => array($fc, 'agencyPublisherStatistics'),201 'signature' => array(202 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601', 'boolean'),203 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601'),204 array('array', 'string', 'int', 'dateTime.iso8601'),205 array('array', 'string', 'int')206 ),207 'docstring' => 'Generate Agency Publisher Statistics'208 ),209 'ox.agencyZoneStatistics' => array(210 'function' => array($fc, 'agencyZoneStatistics'),211 'signature' => array(212 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601', 'boolean'),213 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601'),214 array('array', 'string', 'int', 'dateTime.iso8601'),215 array('array', 'string', 'int')216 ),217 'docstring' => 'Generate Agency Zone Statistics'218 ),219 'ox.getAgency' => array(220 'function' => array($fc, 'getAgency'),221 'signature' => array(222 array('struct', 'string', 'int')223 ),224 'docstring' => 'Get Agency Information'225 ),226 'ox.getAgencyList' => array(227 'function' => array($fc, 'getAgencyList'),228 'signature' => array(229 array('array', 'string')230 ),231 'docstring' => 'Get Agency List'232 ),233 // Banner functions234 'ox.addBanner' => array(235 'function' => array($fc, 'addBanner'),236 'signature' => array(237 array('int', 'string', 'struct')238 ),239 'docstring' => 'Add banner'240 ),241 'ox.modifyBanner' => array(242 'function' => array($fc, 'modifyBanner'),243 'signature' => array(244 array('int', 'string', 'struct')245 ),246 'docstring' => 'Modify banner information'247 ),248 'ox.deleteBanner' => array(249 'function' => array($fc, 'deleteBanner'),250 'signature' => array(251 array('int', 'string', 'int')252 ),253 'docstring' => 'Delete banner'254 ),255 'ox.getBannerTargeting' => array(256 'function' => array($fc, 'getBannerTargeting'),257 'signature' => array(258 array('array', 'string', 'int')259 ),260 'docstring' => 'Get banner targeting limitations array'261 ),262 'ox.setBannerTargeting' => array(263 'function' => array($fc, 'setBannerTargeting'),264 'signature' => array(265 array('boolean', 'string', 'int', 'array')266 ),267 'docstring' => 'Set banner targeting limitations array'268 ),269 'ox.bannerDailyStatistics' => array(270 'function' => array($fc, 'bannerDailyStatistics'),271 'signature' => array(272 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601', 'boolean'),273 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601'),274 array('array', 'string', 'int', 'dateTime.iso8601'),275 array('array', 'string', 'int')276 ),277 'docstring' => 'Generate Banner Daily Statistics'278 ),279 'ox.bannerPublisherStatistics' => array(280 'function' => array($fc, 'bannerPublisherStatistics'),281 'signature' => array(282 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601', 'boolean'),283 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601'),284 array('array', 'string', 'int', 'dateTime.iso8601'),285 array('array', 'string', 'int')286 ),287 'docstring' => 'Generate Banner Publisher Statistics'288 ),289 'ox.bannerZoneStatistics' => array(290 'function' => array($fc, 'bannerZoneStatistics'),291 'signature' => array(292 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601', 'boolean'),293 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601'),294 array('array', 'string', 'int', 'dateTime.iso8601'),295 array('array', 'string', 'int')296 ),297 'docstring' => 'Generate Banner Zone Statistics'298 ),299 'ox.getBanner' => array(300 'function' => array($fc, 'getBanner'),301 'signature' => array(302 array('struct', 'string', 'int')303 ),304 'docstring' => 'Get Banner Information'305 ),306 'ox.getBannerListByCampaignId' => array(307 'function' => array($fc, 'getBannerListByCampaignId'),308 'signature' => array(309 array('array', 'string', 'int')310 ),311 'docstring' => 'Get Banner List By Campaign Id'312 ),313 // Campaign functions314 'ox.addCampaign' => array(315 'function' => array($fc, 'addCampaign'),316 'signature' => array(317 array('int', 'string', 'struct')318 ),319 'docstring' => 'Add campaign'320 ),321 'ox.modifyCampaign' => array(322 'function' => array($fc, 'modifyCampaign'),323 'signature' => array(324 array('int', 'string', 'struct')325 ),326 'docstring' => 'Modify campaign information'327 ),328 'ox.deleteCampaign' => array(329 'function' => array($fc, 'deleteCampaign'),330 'signature' => array(331 array('int', 'string', 'int')332 ),333 'docstring' => 'Delete campaign'334 ),335 'ox.campaignDailyStatistics' => array(336 'function' => array($fc, 'campaignDailyStatistics'),337 'signature' => array(338 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601', 'boolean'),339 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601'),340 array('array', 'string', 'int', 'dateTime.iso8601'),341 array('array', 'string', 'int')342 ),343 'docstring' => 'Generate campaign Daily Statistics'344 ),345 'ox.campaignBannerStatistics' => array(346 'function' => array($fc, 'campaignBannerStatistics'),347 'signature' => array(348 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601', 'boolean'),349 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601'),350 array('array', 'string', 'int', 'dateTime.iso8601'),351 array('array', 'string', 'int')352 ),353 'docstring' => 'Generate campaign Banner Statistics'354 ),355 'ox.campaignPublisherStatistics' => array(356 'function' => array($fc, 'campaignPublisherStatistics'),357 'signature' => array(358 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601', 'boolean'),359 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601'),360 array('array', 'string', 'int', 'dateTime.iso8601'),361 array('array', 'string', 'int')362 ),363 'docstring' => 'Generate campaign Publisher Statistics'364 ),365 'ox.campaignZoneStatistics' => array(366 'function' => array($fc, 'campaignZoneStatistics'),367 'signature' => array(368 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601', 'boolean'),369 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601'),370 array('array', 'string', 'int', 'dateTime.iso8601'),371 array('array', 'string', 'int')372 ),373 'docstring' => 'Generate campaign Zone Statistics'374 ),375 'ox.campaignConversionStatistics' => array(376 'function' => array($fc, 'campaignConversionStatistics'),377 'signature' => array(378 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601', 'boolean'),379 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601'),380 array('array', 'string', 'int', 'dateTime.iso8601'),381 array('array', 'string', 'int')382 ),383 'docstring' => 'Generate campaign Conversion Statistics'384 ),385 'ox.getCampaign' => array(386 'function' => array($fc, 'getCampaign'),387 'signature' => array(388 array('struct', 'string', 'int')389 ),390 'docstring' => 'Get Campaign Information'391 ),392 'ox.getCampaignListByAdvertiserId' => array(393 'function' => array($fc, 'getCampaignListByAdvertiserId'),394 'signature' => array(395 array('array', 'string', 'int')396 ),397 'docstring' => 'Get Campaign List By Advertiser Id'398 ),399 // Channel functions400 'ox.addChannel' => array(401 'function' => array($fc, 'addChannel'),402 'signature' => array(403 array('int', 'string', 'struct')404 ),405 'docstring' => 'Add Channel'406 ),407 'ox.modifyChannel' => array(408 'function' => array($fc, 'modifyChannel'),409 'signature' => array(410 array('int', 'string', 'struct')411 ),412 'docstring' => 'Modify Channel Information'413 ),414 'ox.deleteChannel' => array(415 'function' => array($fc, 'deleteChannel'),416 'signature' => array(417 array('int', 'string', 'int')418 ),419 'docstring' => 'Delete Channel'420 ),421 'ox.getChannel' => array(422 'function' => array($fc, 'getChannel'),423 'signature' => array(424 array('struct', 'string', 'int')425 ),426 'docstring' => 'Get Channel Information'427 ),428 'ox.getChannelListByWebsiteId' => array(429 'function' => array($fc, 'getChannelListByWebsiteId'),430 'signature' => array(431 array('array', 'string', 'int')432 ),433 'docstring' => 'Get Website Channel List'434 ),435 'ox.getChannelListByAgencyId' => array(436 'function' => array($fc, 'getChannelListByAgencyId'),437 'signature' => array(438 array('array', 'string', 'int')439 ),440 'docstring' => 'Get Agency Channel List'441 ),442 'ox.getChannelTargeting' => array(443 'function' => array($fc, 'getChannelTargeting'),444 'signature' => array(445 array('array', 'string', 'int')446 ),447 'docstring' => 'Get channel targeting limitations array'448 ),449 'ox.setChannelTargeting' => array(450 'function' => array($fc, 'setChannelTargeting'),451 'signature' => array(452 array('boolean', 'string', 'int', 'array')453 ),454 'docstring' => 'Set channel targeting limitations array'455 ),456 // Publisher (website) functions457 'ox.addPublisher' => array(458 'function' => array($fc, 'addPublisher'),459 'signature' => array(460 array('int', 'string', 'struct')461 ),462 'docstring' => 'Add publisher'463 ),464 'ox.modifyPublisher' => array(465 'function' => array($fc, 'modifyPublisher'),466 'signature' => array(467 array('int', 'string', 'struct')468 ),469 'docstring' => 'Modify publisher information'470 ),471 'ox.deletePublisher' => array(472 'function' => array($fc, 'deletePublisher'),473 'signature' => array(474 array('int', 'string', 'int')475 ),476 'docstring' => 'Delete publisher'477 ),478 'ox.publisherDailyStatistics' => array(479 'function' => array($fc, 'publisherDailyStatistics'),480 'signature' => array(481 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601', 'boolean'),482 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601'),483 array('array', 'string', 'int', 'dateTime.iso8601'),484 array('array', 'string', 'int')485 ),486 'docstring' => 'Generate Publisher Daily Statistics'487 ),488 'ox.publisherZoneStatistics' => array(489 'function' => array($fc, 'publisherZoneStatistics'),490 'signature' => array(491 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601', 'boolean'),492 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601'),493 array('array', 'string', 'int', 'dateTime.iso8601'),494 array('array', 'string', 'int')495 ),496 'docstring' => 'Generate Publisher Zone Statistics'497 ),498 'ox.publisherAdvertiserStatistics' => array(499 'function' => array($fc, 'publisherAdvertiserStatistics'),500 'signature' => array(501 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601', 'boolean'),502 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601'),503 array('array', 'string', 'int', 'dateTime.iso8601'),504 array('array', 'string', 'int')505 ),506 'docstring' => 'Generate Publisher Advertiser Statistics'507 ),508 'ox.publisherCampaignStatistics' => array(509 'function' => array($fc, 'publisherCampaignStatistics'),510 'signature' => array(511 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601', 'boolean'),512 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601'),513 array('array', 'string', 'int', 'dateTime.iso8601'),514 array('array', 'string', 'int')515 ),516 'docstring' => 'Generate Publisher Campaign Statistics'517 ),518 'ox.publisherBannerStatistics' => array(519 'function' => array($fc, 'publisherBannerStatistics'),520 'signature' => array(521 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601', 'boolean'),522 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601'),523 array('array', 'string', 'int', 'dateTime.iso8601'),524 array('array', 'string', 'int')525 ),526 'docstring' => 'Generate Publisher Banner Statistics'527 ),528 'ox.getPublisher' => array(529 'function' => array($fc, 'getPublisher'),530 'signature' => array(531 array('struct', 'string', 'int')532 ),533 'docstring' => 'Get Publisher Information'534 ),535 'ox.getPublisherListByAgencyId' => array(536 'function' => array($fc, 'getPublisherListByAgencyId'),537 'signature' => array(538 array('array', 'string', 'int')539 ),540 'docstring' => 'Get Publishers List By Agency Id'541 ),542 // User functions543 'ox.addUser' => array(544 'function' => array($fc, 'addUser'),545 'signature' => array(546 array('int', 'string', 'struct')547 ),548 'docstring' => 'Add user'549 ),550 'ox.modifyUser' => array(551 'function' => array($fc, 'modifyUser'),552 'signature' => array(553 array('int', 'string', 'struct')554 ),555 'docstring' => 'Modify user information'556 ),557 'ox.deleteUser' => array(558 'function' => array($fc, 'deleteUser'),559 'signature' => array(560 array('int', 'string', 'int')561 ),562 'docstring' => 'Delete user'563 ),564 'ox.getUser' => array(565 'function' => array($fc, 'getUser'),566 'signature' => array(567 array('struct', 'string', 'int')568 ),569 'docstring' => 'Get User Information'570 ),571 'ox.getUserListByAccountId' => array(572 'function' => array($fc, 'getUserListByAccountId'),573 'signature' => array(574 array('array', 'string', 'int')575 ),576 'docstring' => 'Get User List By Account Id'577 ),578 'ox.updateSsoUserId' => array(579 'function' => array($fc, 'updateSsoUserId'),580 'signature' => array(581 array('array', 'string', 'int', 'int')582 ),583 'docstring' => 'Change the SSO User ID field'584 ),585 'ox.updateUserEmailBySsoId' => array(586 'function' => array($fc, 'updateUserEmailBySsoId'),587 'signature' => array(588 array('array', 'string', 'int', 'string')589 ),590 'docstring' => 'Change users email for the user who match the SSO User ID'591 ),592 // Zone functions593 'ox.addZone' => array(594 'function' => array($fc, 'addZone'),595 'signature' => array(596 array('int', 'string', 'struct')597 ),598 'docstring' => 'Add zone'599 ),600 'ox.modifyZone' => array(601 'function' => array($fc, 'modifyZone'),602 'signature' => array(603 array('int', 'string', 'struct')604 ),605 'docstring' => 'Modify zone information'606 ),607 'ox.deleteZone' => array(608 'function' => array($fc, 'deleteZone'),609 'signature' => array(610 array('int', 'string', 'int')611 ),612 'docstring' => 'Delete zone'613 ),614 'ox.zoneDailyStatistics' => array(615 'function' => array($fc, 'zoneDailyStatistics'),616 'signature' => array(617 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601', 'boolean'),618 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601'),619 array('array', 'string', 'int', 'dateTime.iso8601'),620 array('array', 'string', 'int')621 ),622 'docstring' => 'Generate Zone Daily Statistics'623 ),624 'ox.zoneAdvertiserStatistics' => array(625 'function' => array($fc, 'zoneAdvertiserStatistics'),626 'signature' => array(627 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601', 'boolean'),628 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601'),629 array('array', 'string', 'int', 'dateTime.iso8601'),630 array('array', 'string', 'int')631 ),632 'docstring' => 'Generate Zone Advertiser Statistics'633 ),634 'ox.zoneCampaignStatistics' => array(635 'function' => array($fc, 'zoneCampaignStatistics'),636 'signature' => array(637 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601', 'boolean'),638 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601'),639 array('array', 'string', 'int', 'dateTime.iso8601'),640 array('array', 'string', 'int')641 ),642 'docstring' => 'Generate Zone Campaign Statistics'643 ),644 'ox.zoneBannerStatistics' => array(645 'function' => array($fc, 'zoneBannerStatistics'),646 'signature' => array(647 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601', 'boolean'),648 array('array', 'string', 'int', 'dateTime.iso8601', 'dateTime.iso8601'),649 array('array', 'string', 'int', 'dateTime.iso8601'),650 array('array', 'string', 'int')651 ),652 'docstring' => 'Generate Zone Banner Statistics'653 ),654 'ox.getZone' => array(655 'function' => array($fc, 'getZone'),656 'signature' => array(657 array('struct', 'string', 'int')658 ),659 'docstring' => 'Get Zone Information'660 ),661 'ox.getZoneListByPublisherId' => array(662 'function' => array($fc, 'getZoneListByPublisherId'),663 'signature' => array(664 array('array', 'string', 'int')665 ),666 'docstring' => 'Get Zone List By Publisher Id'667 ),668 'ox.linkBanner' => array(669 'function' => array($fc, 'linkBanner'),670 'signature' => array(671 array('int', 'string', 'int', 'int')672 ),673 'docstring' => 'Link a banner to a zone'674 ),675 'ox.linkCampaign' => array(676 'function' => array($fc, 'linkCampaign'),677 'signature' => array(678 array('int', 'string', 'int', 'int')679 ),680 'docstring' => 'Link a campaign to a zone'681 ),682 'ox.unlinkBanner' => array(683 'function' => array($fc, 'unlinkBanner'),684 'signature' => array(685 array('int', 'string', 'int', 'int')686 ),687 'docstring' => 'Unlink a banner to from zone'688 ),689 'ox.unlinkCampaign' => array(690 'function' => array($fc, 'unlinkCampaign'),691 'signature' => array(692 array('int', 'string', 'int', 'int')693 ),694 'docstring' => 'Unlink a campaign from a zone'695 ),696 'ox.generateTags' => array(697 'function' => array($fc, 'generateTags'),698 'signature' => array(699 array('string', 'string', 'int', 'string', 'struct'),700 array('string', 'string', 'int', 'string', 'array')701 ),702 'docstring' => 'Unlink a campaign from a zone'703 ),704);705// Merge the plugins' dispatch maps with core.706// Function names should be namespaced.707$aComponents = OX_Component::getComponents('api');708$aMaps = OX_Component::callOnComponents($aComponents, 'getDispatchMap');709foreach($aMaps as $map) {710 $dispatches = array_merge($dispatches, $map);711}712$server = new XML_RPC_Server($dispatches, 1);...

Full Screen

Full Screen

DocstringPlugin.php

Source:DocstringPlugin.php Github

copy

Full Screen

1<?php2/*3 * The MIT License (MIT)4 *5 * Copyright (c) 2013 Jonathan Vollebregt (jnvsor@gmail.com), Rokas Å leinius (raveren@gmail.com)6 *7 * Permission is hereby granted, free of charge, to any person obtaining a copy of8 * this software and associated documentation files (the "Software"), to deal in9 * the Software without restriction, including without limitation the rights to10 * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of11 * the Software, and to permit persons to whom the Software is furnished to do so,12 * subject to the following conditions:13 *14 * The above copyright notice and this permission notice shall be included in all15 * copies or substantial portions of the Software.16 *17 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR18 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS19 * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR20 * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER21 * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN22 * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.23 */24namespace Kint\Renderer\Rich;25use Kint\Kint;26use Kint\Zval\Representation\DocstringRepresentation;27use Kint\Zval\Representation\Representation;28class DocstringPlugin extends Plugin implements TabPluginInterface29{30 public function renderTab(Representation $r)31 {32 if (!($r instanceof DocstringRepresentation)) {33 return;34 }35 $docstring = [];36 foreach (\explode("\n", $r->contents) as $line) {37 $docstring[] = \trim($line);38 }39 $docstring = \implode("\n", $docstring);40 $location = [];41 if ($r->class) {42 $location[] = 'Inherited from '.$this->renderer->escape($r->class);43 }44 if ($r->file && $r->line) {45 $location[] = 'Defined in '.$this->renderer->escape(Kint::shortenPath($r->file)).':'.((int) $r->line);46 }47 $location = \implode("\n", $location);48 if ($location) {49 if (\strlen($docstring)) {50 $docstring .= "\n\n";51 }52 $location = '<small>'.$location.'</small>';53 } elseif (0 === \strlen($docstring)) {54 return '';55 }56 return '<pre>'.$this->renderer->escape($docstring).$location.'</pre>';57 }58}...

Full Screen

Full Screen

DocString

Using AI Code Generation

copy

Full Screen

1$docString = new DocString();2$docString->setDocString($docString);3$docString->getDocString();4$docString = new DocString();5$docString->setDocString($docString);6$docString->getDocString();7PHP Fatal error: Call to undefined method DocString::setDocString() in /Users/username/Documents/Projects/Cucumber/PHP/tests/features/bootstrap/DocString.php on line 108PHP 1. {main}() /Users/username/Documents/Projects/Cucumber/PHP/vendor/behat/behat/bin/behat:09PHP 2. Behat\Behat\Console\BehatApplication->run() /Users/username/Documents/Projects/Cucumber/PHP/vendor/behat/behat/bin/behat:3410PHP 3. Symfony\Component\Console\Application->run() /Users/username/Documents/Projects/Cucumber/PHP/vendor/behat/behat/src/Behat/Behat/Console/BehatApplication.php:10811PHP 4. Symfony\Component\Console\Application->doRun() /Users/username/Documents/Projects/Cucumber/PHP/vendor/symfony/console/Symfony/Component/Console/Application.php:12612PHP 5. Symfony\Component\Console\Application->doRunCommand() /Users/username/Documents/Projects/Cucumber/PHP/vendor/symfony/console/Symfony/Component/Console/Application.php:19513PHP 6. Symfony\Component\Console\Command\Command->run() /Users/username/Documents/Projects/Cucumber/PHP/vendor/symfony/console/Symfony/Component/Console/Application.php:87414PHP 7. Behat\Behat\Console\Command\RunCommand->execute() /Users/username/Documents/Projects/Cucumber/PHP/vendor/symfony/console/Symfony/Component/Console/Command/Command.php:25715PHP 8. Behat\Behat\Runner\Runner->run() /Users/username/Documents/Projects/Cucumber/PHP/vendor/behat/behat/src/Behat/Behat/Console/Command/RunCommand.php:13416PHP 9. Behat\Behat\Runner\ScenarioRunner->run() /Users/username/Documents/Projects/Cucumber

Full Screen

Full Screen

DocString

Using AI Code Generation

copy

Full Screen

1$docstrings = new DocString();2$docstrings->setDocString($docString);3echo $docstrings->getDocString();4echo $docstrings->getDocString(1);5echo $docstrings->getDocString(2);6echo $docstrings->getDocString(3);7echo $docstrings->getDocString(4);8echo $docstrings->getDocString(5);9echo $docstrings->getDocString(6);10echo $docstrings->getDocString(7);11echo $docstrings->getDocString(8);12echo $docstrings->getDocString(9);13echo $docstrings->getDocString(10);14echo $docstrings->getDocString(11);15echo $docstrings->getDocString(12);16echo $docstrings->getDocString(13);17echo $docstrings->getDocString(14);18echo $docstrings->getDocString(15);19echo $docstrings->getDocString(16);20echo $docstrings->getDocString(17);21echo $docstrings->getDocString(18);22echo $docstrings->getDocString(19);23echo $docstrings->getDocString(20);24echo $docstrings->getDocString(21);25echo $docstrings->getDocString(22);26echo $docstrings->getDocString(23);27echo $docstrings->getDocString(24);28echo $docstrings->getDocString(25);29echo $docstrings->getDocString(26);30echo $docstrings->getDocString(27);31echo $docstrings->getDocString(28);32echo $docstrings->getDocString(29);33echo $docstrings->getDocString(30);34echo $docstrings->getDocString(31);35echo $docstrings->getDocString(32);36echo $docstrings->getDocString(33);37echo $docstrings->getDocString(34);38echo $docstrings->getDocString(35);39echo $docstrings->getDocString(36);40echo $docstrings->getDocString(37);41echo $docstrings->getDocString(38);42echo $docstrings->getDocString(39);43echo $docstrings->getDocString(40);44echo $docstrings->getDocString(41);45echo $docstrings->getDocString(42);46echo $docstrings->getDocString(

Full Screen

Full Screen

DocString

Using AI Code Generation

copy

Full Screen

1$docString = new DocString();2$docString->getDocString();3$dataTable = new DataTable();4$dataTable->getDataTable();5$dataTable = new DataTable();6$dataTable->getDataTable();7$dataTable = new DataTable();8$dataTable->getDataTable();9$dataTable = new DataTable();10$dataTable->getDataTable();11$dataTable = new DataTable();12$dataTable->getDataTable();13$dataTable = new DataTable();14$dataTable->getDataTable();15$dataTable = new DataTable();16$dataTable->getDataTable();17$dataTable = new DataTable();18$dataTable->getDataTable();19$dataTable = new DataTable();20$dataTable->getDataTable();21$dataTable = new DataTable();22$dataTable->getDataTable();23$dataTable = new DataTable();24$dataTable->getDataTable();25$dataTable = new DataTable();26$dataTable->getDataTable();

Full Screen

Full Screen

DocString

Using AI Code Generation

copy

Full Screen

1use Cucumber\CommonLibrary\DocString;2$docString = new DocString($this->getDocString());3echo $docString->getDocString();4echo $docString->getDocStringAsArray();5echo $docString->getDocStringAsJson();6echo $docString->getDocStringAsXml();7use Cucumber\CommonLibrary\DocString;8$docString = new DocString($this->getDocString());9echo $docString->getDocString();10echo $docString->getDocStringAsArray();11echo $docString->getDocStringAsJson();12echo $docString->getDocStringAsXml();13use Cucumber\CommonLibrary\DocString;14$docString = new DocString($this->getDocString());15echo $docString->getDocString();16echo $docString->getDocStringAsArray();17echo $docString->getDocStringAsJson();18echo $docString->getDocStringAsXml();19use Cucumber\CommonLibrary\DocString;20$docString = new DocString($this->getDocString());21echo $docString->getDocString();22echo $docString->getDocStringAsArray();23echo $docString->getDocStringAsJson();24echo $docString->getDocStringAsXml();25use Cucumber\CommonLibrary\DocString;26$docString = new DocString($this->getDocString());27echo $docString->getDocString();28echo $docString->getDocStringAsArray();29echo $docString->getDocStringAsJson();30echo $docString->getDocStringAsXml();31use Cucumber\CommonLibrary\DocString;32$docString = new DocString($this->getDocString());33echo $docString->getDocString();34echo $docString->getDocStringAsArray();35echo $docString->getDocStringAsJson();36echo $docString->getDocStringAsXml();

Full Screen

Full Screen

DocString

Using AI Code Generation

copy

Full Screen

1$docString = new DocString();2$docString->setString("This is a DocString");3$docString->setContentType("text/plain");4$docString->setDelimiter("'''");5$docString->setLine(1);6$docString->setLocation(1);7$docString->setMediaType("text/plain");8$docString->setUri("uri");9$docString->setKeyword("keyword");10$docString->setName("name");11$docString->setDescription("description");12$docString->setTags("tags");13$docString->setId("id");14$docString->setAstNodeID("astNodeID");15$docString->setPickleID("pickleID");16$docString->setLanguage("language");17$docString->setResult("result");18$docString->setMatch("match");19$docString->setAttachments("attachments");20$docString->setEmbeddings("embeddings");21$docString->setOutput("output");22$docString->setSteps("steps");23$docString->setBefore("before");24$docString->setAfter("after");25$docString->setBeforeStep("beforeStep");26$docString->setAfterStep("afterStep");27$docString->setAttachments("attachments");28$docString->setEmbeddings("embeddings");29$docString->setOutput("output");30$docString->setSteps("steps");31$docString->setBefore("before");32$docString->setAfter("after");33$docString->setBeforeStep("beforeStep");34$docString->setAfterStep("afterStep");35$docString->setAttachments("attachments");36$docString->setEmbeddings("embeddings");37$docString->setOutput("output");38$docString->setSteps("steps");39$docString->setBefore("before");40$docString->setAfter("after");41$docString->setBeforeStep("beforeStep");42$docString->setAfterStep("afterStep");43$docString->setAttachments("attachments");44$docString->setEmbeddings("embeddings");45$docString->setOutput("output");46$docString->setSteps("steps");47$docString->setBefore("before");48$docString->setAfter("after");49$docString->setBeforeStep("beforeStep");50$docString->setAfterStep("afterStep");51$docString->setAttachments("attachments");

Full Screen

Full Screen

DocString

Using AI Code Generation

copy

Full Screen

1$docstring = new DocString();2$docstring = $docstring->getDocString();3$email = new Email();4$email->sendEmail($docstring);5$email = new Email();6$email->sendEmail($docstring);7$email = new Email();8$email->sendEmail($docstring);9$email = new Email();10$email->sendEmail($docstring);11$email = new Email();12$email->sendEmail($docstring);13$email = new Email();14$email->sendEmail($docstring);15$email = new Email();16$email->sendEmail($docstring);17$email = new Email();18$email->sendEmail($docstring);19$email = new Email();20$email->sendEmail($docstring);21$email = new Email();22$email->sendEmail($docstring);23$email = new Email();24$email->sendEmail($docstring);25$email = new Email();26$email->sendEmail($docstring);27$email = new Email();28$email->sendEmail($docstring);

Full Screen

Full Screen

Automation Testing Tutorials

Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.

LambdaTest Learning Hubs:

YouTube

You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.

Run Cucumber Common Library automation tests on LambdaTest cloud grid

Perform automation testing on 3000+ real desktop and mobile devices online.

Run Selenium Automation Tests on LambdaTest Cloud Grid

Trigger Selenium automation tests on a cloud-based Grid of 3000+ real browsers and operating systems.

Test now for Free

Try LambdaTest Now !!

Get 100 minutes of automation test minutes FREE!!

Next-Gen App & Browser Testing Cloud

Was this article helpful?

Helpful

NotHelpful