100+ results for 'class String'

Not the results you expected?

query.php (https://gitlab.com/Gashler/dp) PHP · 2141 lines

13

14 /**

15 * Retrieve variable in the WP_Query class.

16 *

17 * @see WP_Query::get()

19 * @uses $wp_query

20 *

21 * @param string $var The variable key to retrieve.

22 * @return mixed

23 */

65 * @uses $wp_query

66 *

67 * @param string $var Query variable key.

68 * @param mixed $value

69 * @return null

cache.php (https://gitlab.com/Gashler/dp) PHP · 653 lines

13 *

14 * @since 2.0.0

15 * @uses $wp_object_cache Object Cache Class

16 * @see WP_Object_Cache::add()

17 *

18 * @param int|string $key The cache key to use for retrieval later

19 * @param mixed $data The data to add to the cache store

20 * @param string $group The group to add the cache to

48 *

49 * @since 3.3.0

50 * @uses $wp_object_cache Object Cache Class

51 * @see WP_Object_Cache::decr()

52 *

MvcModelQueryBuilderTest.php (https://gitlab.com/szlongshu/manaphp) PHP · 500 lines

12 use Models\Payment;

13

14 class MvcModelQueryBuilderTest extends TestCase

15 {

16

48 {

49 //select all implicitly

50 $builder = $this->modelsManager->createBuilder()->columns('city_id')->addFrom(get_class(new Address()));

51 $this->assertCount(603, $builder->getQuery()->execute());

52

54 $builder = $this->modelsManager->createBuilder()

55 ->columns('city_id')

56 ->addFrom(get_class(new Address()))

57 ->distinct(false);

58 $this->assertCount(603, $builder->getQuery()->execute());

route.php (https://gitlab.com/julienv/joomleague) PHP · 802 lines

19 *

20 */

21 class JoomleagueHelperRoute

22 {

23 public static function getTeamInfoRoute( $projectid, $teamid )

285 * @param int teamid

286 * @param int personid

287 * @param string task

288 * @return url

289 */

html-quote.el (https://bitbucket.org/shuangxinyu/emacspack.git) Lisp · 72 lines

51 :group 'html-qoute

52 :type '(alist :key-type character

53 :value-type string))

54

55

56 (defun html-quote-html-char (char)

57 "Return CHAR as string if safe, otherwise its html entity."

58 (or (cdr (assoc char html-quote-html))

59 (char-to-string char)))

60

61 (defun html-quote-html-string (str)

62 "Return html escaped STR."

63 (mapconcat 'html-quote-html-char

Tv.php (https://gitlab.com/x33n/ampache) PHP · 817 lines

23

24 /**

25 * Class Tv

26 * @package Tmdb\Model

27 */

28 class Tv extends AbstractModel

29 {

30 /**

56

57 /**

58 * @var string

59 */

60 private $homepage;

Route.php (https://gitlab.com/fiesta-framework/Documentation) PHP · 655 lines

72 * Available options:

73 *

74 * * compiler_class: A class name able to compile this route instance (RouteCompiler by default)

75 *

76 * @param string $path The path pattern to match

335 {

336 $this->options = array(

337 'compiler_class' => 'Symfony\\Component\\Routing\\RouteCompiler',

338 );

339

621 }

622

623 $class = $this->getOption('compiler_class');

624

625 return $this->compiled = $class::compile($this);

SimpleMessageAcceptanceTest.php (https://gitlab.com/fiesta-framework/Documentation) PHP · 1251 lines

1 <?php

2

3 class Swift_Mime_SimpleMessageAcceptanceTest extends \PHPUnit_Framework_TestCase

4 {

5 public function setUp()

23 'Content-Type: text/plain'."\r\n".

24 'Content-Transfer-Encoding: quoted-printable'."\r\n",

25 $message->toString(),

26 '%s: Only required headers, and non-empty headers should be displayed'

27 );

42 'Content-Type: text/plain'."\r\n".

43 'Content-Transfer-Encoding: quoted-printable'."\r\n",

44 $message->toString()

45 );

46 }

smarty_internal_data.php (https://gitlab.com/fiesta-framework/Documentation) PHP · 576 lines

2 /**

3 * Smarty Internal Plugin Data

4 * This file contains the basic classes and methods for template and variable creation

5 *

6 * @package Smarty

10

11 /**

12 * Base class with template and variable methods

13 *

14 * @package Smarty

15 * @subpackage Template

16 */

17 class Smarty_Internal_Data

18 {

19 /**

ArgvInputTest.php (https://gitlab.com/ealexis.t/trends) PHP · 336 lines

17 use Symfony\Component\Console\Input\InputOption;

18

19 class ArgvInputTest extends \PHPUnit_Framework_TestCase

20 {

21 public function testConstructor()

247 }

248

249 public function testParseEmptyStringArgument()

250 {

251 $input = new ArgvInput(array('cli.php', '-f', 'bar', ''));

252 $input->bind(new InputDefinition(array(new InputArgument('empty'), new InputOption('foo', 'f', InputOption::VALUE_OPTIONAL))));

253

254 $this->assertEquals(array('empty' => ''), $input->getArguments(), '->parse() parses empty string arguments');

255 }

256

MailTransportTest.php (https://gitlab.com/ealexis.t/trends) PHP · 452 lines

1 <?php

2

3 class Swift_Transport_MailTransportTest extends \SwiftMailerTestCase

4 {

5 public function testTransportInvokesMailOncePerMessage()

71 $message = $this->_createMessage($headers);

72

73 $message->shouldReceive('toString')

74 ->zeroOrMoreTimes()

75 ->andReturn(

196 $message = $this->_createMessage($headers);

197

198 $message->shouldReceive('toString')

199 ->zeroOrMoreTimes()

200 ->andReturn(

ConstraintTest.php (https://gitlab.com/ealexis.t/trends) PHP · 1759 lines

10

11 /**

12 * @since Class available since Release 3.0.0

13 */

14 class Framework_ConstraintTest extends PHPUnit_Framework_TestCase

18 * @covers PHPUnit_Framework_Assert::arrayHasKey

19 * @covers PHPUnit_Framework_Constraint::count

20 * @covers PHPUnit_Framework_TestFailure::exceptionToString

21 */

22 public function testConstraintArrayHasKey()

979 $this->assertFalse($constraint->evaluate($b, '', true));

980 $this->assertTrue($constraint->evaluate($a, '', true));

981 $this->assertEquals('is identical to an object of class "stdClass"', $constraint->toString());

982 $this->assertEquals(1, count($constraint));

983

AssertTest.php (https://gitlab.com/ealexis.t/trends) PHP · 1743 lines

460 * @covers PHPUnit_Framework_Assert::assertContains

461 */

462 public function testAssertStringContainsString()

463 {

464 $this->assertContains('foo', 'foobar');

653

654 try {

655 $this->assertNotContainsOnly('StdClass', array(new stdClass));

656 } catch (PHPUnit_Framework_AssertionFailedError $e) {

657 return;

744 array(array('a', 'b' => array(1, 2)), array('a', 'b' => array(2, 1))),

745 // objects

746 array(new SampleClass(4, 8, 15), new SampleClass(16, 23, 42)),

747 array($object1, $object2),

748 array($book1, $book2),

944 array('string representation', new ClassWithToString),

945 array(new ClassWithToString, 'string representation'),

946 );

947 }

Functions.php (https://gitlab.com/ealexis.t/trends) PHP · 1937 lines

194 * @param string $actualAttributeName

195 * @param string $actualClassOrObject

196 * @param string $message

304 * @param string $actualAttributeName

305 * @param string $actualClassOrObject

306 * @param string $message

402 * @param string $actualAttributeName

403 * @param string $actualClassOrObject

404 * @param string $message

491 * @param string $attributeName

492 * @param string $className

493 * @param string $message

495 * @since Method available since Release 3.1.0

496 */

497 function assertClassHasAttribute($attributeName, $className, $message = '')

498 {

499 return call_user_func_array(

TestResult.php (https://gitlab.com/ealexis.t/trends) PHP · 1128 lines

12 * A TestResult collects the results of executing a test case.

13 *

14 * @since Class available since Release 2.0.0

15 */

16 class PHPUnit_Framework_TestResult implements Countable

342

343 if (!$this->lastTestFailed && $test instanceof PHPUnit_Framework_TestCase) {

344 $class = get_class($test);

345 $key = $class . '::' . $test->getName();

348 'result' => $test->getResult(),

349 'size' => PHPUnit_Util_Test::getSize(

350 $class,

351 $test->getName(false)

352 )

574 // We need to blacklist test source files when no whitelist is used.

575 if (!$this->codeCoverage->filter()->hasWhitelist()) {

576 $classes = $this->getHierarchy(get_class($test), true);

577

578 foreach ($classes as $class) {

Assert.php (https://gitlab.com/ealexis.t/trends) PHP · 1622 lines

293 * Asserts that a haystack contains only instances of a given classname

294 *

295 * @param string $classname

296 * @param array|Traversable $haystack

297 * @param string $message

380 * type.

381 *

382 * @param string $type

383 * @param string $haystackAttributeName

520 * @param string $actualAttributeName

521 * @param string $actualClassOrObject

522 * @param string $message

573 * @param string $actualAttributeName

574 * @param string $actualClassOrObject

575 * @param string $message

674 * @param string $actualAttributeName

675 * @param string $actualClassOrObject

676 * @param string $message

File.php (https://gitlab.com/ealexis.t/trends) PHP · 679 lines

541 $link = $this->getId() . '.html#';

542

543 foreach ($classes as $className => $class) {

544 $this->classes[$className] = array(

545 'className' => $className,

546 'methods' => array(),

547 'startLine' => $class['startLine'],

557 $this->startLines[$class['startLine']] = &$this->classes[$className];

558 $this->endLines[$class['endLine']] = &$this->classes[$className];

559

560 foreach ($class['methods'] as $methodName => $method) {

561 $this->classes[$className]['methods'][$methodName] = array(

562 'methodName' => $methodName,

563 'signature' => $method['signature'],

ClassMirrorSpec.php (https://gitlab.com/ealexis.t/trends) PHP · 784 lines

73 $classNode->shouldBeAnInstanceOf('Prophecy\Doubler\Generator\Node\ClassNode');

74 $classNode->getParentClass()->shouldReturn('Custom\ClassName');

75

76 $methodNodes = $classNode->getMethods();

157 $classNode->shouldBeAnInstanceOf('Prophecy\Doubler\Generator\Node\ClassNode');

158 $classNode->getParentClass()->shouldReturn('Custom\ClassName');

159

160 $methodNodes = $classNode->getMethods();

189 $classNode->shouldBeAnInstanceOf('Prophecy\Doubler\Generator\Node\ClassNode');

190 $classNode->getParentClass()->shouldReturn('Custom\ClassName');

191

192 $methodNodes = $classNode->getMethods();

278 $classNode->shouldBeAnInstanceOf('Prophecy\Doubler\Generator\Node\ClassNode');

279 $classNode->getParentClass()->shouldReturn('Custom\ClassName');

280

281 $methodNodes = $classNode->getMethods();

Collection.php (https://gitlab.com/ealexis.t/trends) PHP · 1170 lines

14 use Illuminate\Contracts\Support\Arrayable;

15

16 class Collection implements ArrayAccess, Arrayable, Countable, IteratorAggregate, Jsonable, JsonSerializable

17 {

18 use Macroable;

60 * Get the average value of a given key.

61 *

62 * @param string|null $key

63 * @return mixed

64 */

73 * Alias for the "avg" method.

74 *

75 * @param string|null $key

76 * @return mixed

77 */

SqlServerGrammar.php (https://gitlab.com/ealexis.t/trends) PHP · 626 lines

6 use Illuminate\Database\Schema\Blueprint;

7

8 class SqlServerGrammar extends Grammar

9 {

10 /**

25 * Compile the query to determine if a table exists.

26 *

27 * @return string

28 */

29 public function compileTableExists()

35 * Compile the query to determine the list of columns.

36 *

37 * @param string $table

38 * @return string

50 * @param \Illuminate\Database\Schema\Blueprint $blueprint

51 * @param \Illuminate\Support\Fluent $command

52 * @return string

53 */

54 public function compileCreate(Blueprint $blueprint, Fluent $command)

PostgresGrammar.php (https://gitlab.com/ealexis.t/trends) PHP · 622 lines

6 use Illuminate\Database\Schema\Blueprint;

7

8 class PostgresGrammar extends Grammar

9 {

10 /**

25 * Compile the query to determine if a table exists.

26 *

27 * @return string

28 */

29 public function compileTableExists()

35 * Compile the query to determine the list of columns.

36 *

37 * @param string $table

38 * @return string

48 * @param \Illuminate\Database\Schema\Blueprint $blueprint

49 * @param \Illuminate\Support\Fluent $command

50 * @return string

51 */

52 public function compileCreate(Blueprint $blueprint, Fluent $command)

MySqlGrammar.php (https://gitlab.com/ealexis.t/trends) PHP · 796 lines

7 use Illuminate\Database\Schema\Blueprint;

8

9 class MySqlGrammar extends Grammar

10 {

11 /**

29 * Compile the query to determine the list of tables.

30 *

31 * @return string

32 */

33 public function compileTableExists()

39 * Compile the query to determine the list of columns.

40 *

41 * @return string

42 */

43 public function compileColumnExists()

Blueprint.php (https://gitlab.com/ealexis.t/trends) PHP · 1062 lines

8 use Illuminate\Database\Schema\Grammars\Grammar;

9

10 class Blueprint

11 {

12 /**

13 * The table the blueprint describes.

14 *

15 * @var string

16 */

17 protected $table;

34 * The storage engine that should be used for the table.

35 *

36 * @var string

37 */

38 public $engine;

hadoopfs_types.php (https://gitlab.com/essere.lab.public/qualitas.class-corpus) PHP · 714 lines

8

9

10 class ThriftHandle {

11 static $_TSPEC;

12

80 }

81

82 class Pathname {

83 static $_TSPEC;

84

90 -1 => array(

91 'var' => 'pathname',

92 'type' => TType::STRING,

93 ),

94 );

Jquery.php (https://gitlab.com/lisit1003/TTPHPServer) PHP · 1071 lines

393 * @return string

394 */

395 function _addClass($element = 'this', $class='')

396 {

397 $element = $this->_prep_element($element);

398 $str = "$({$element}).addClass(\"$class\");";

399 return $str;

400 }

537 * @return string

538 */

539 function _removeClass($element = 'this', $class='')

540 {

541 $element = $this->_prep_element($element);

Javascript.php (https://gitlab.com/lisit1003/TTPHPServer) PHP · 871 lines

392 * @param string - element

393 * @param string - Class to add

394 * @return string

395 */

396 function addClass($element = 'this', $class = '')

397 {

398 return $this->js->_addClass($element, $class);

481 * @param string - element

482 * @param string - Class to add

483 * @return string

484 */

485 function removeClass($element = 'this', $class = '')

486 {

487 return $this->js->_removeClass($element, $class);

State.php (https://gitlab.com/VTTE/sitios-vtte) PHP · 451 lines

1 <?php

2

3 if (class_exists('ParagonIE_Sodium_Core32_Poly1305_State', false)) {

4 return;

5 }

6

7 /**

8 * Class ParagonIE_Sodium_Core32_Poly1305_State

9 */

10 class ParagonIE_Sodium_Core32_Poly1305_State extends ParagonIE_Sodium_Core32_Util

45 * @internal You should not use this directly from another application

46 *

47 * @param string $key

48 * @throws InvalidArgumentException

49 * @throws SodiumException

Curve25519.php (https://gitlab.com/VTTE/sitios-vtte) PHP · 1270 lines

1 <?php

2

3 if (class_exists('ParagonIE_Sodium_Core32_Curve25519', false)) {

4 return;

5 }

6

7 /**

8 * Class ParagonIE_Sodium_Core32_Curve25519

9 *

10 * Implements Curve25519 core functions

14 * @ref https://github.com/jedisct1/libsodium/blob/master/src/libsodium/crypto_core/curve25519/ref10/curve25519_ref10.c

15 */

16 abstract class ParagonIE_Sodium_Core32_Curve25519 extends ParagonIE_Sodium_Core32_Curve25519_H

17 {

18 /**

Curve25519.php (https://gitlab.com/VTTE/sitios-vtte) PHP · 1469 lines

1 <?php

2

3 if (class_exists('ParagonIE_Sodium_Core_Curve25519', false)) {

4 return;

5 }

6

7 /**

8 * Class ParagonIE_Sodium_Core_Curve25519

9 *

10 * Implements Curve25519 core functions

14 * @ref https://github.com/jedisct1/libsodium/blob/master/src/libsodium/crypto_core/curve25519/ref10/curve25519_ref10.c

15 */

16 abstract class ParagonIE_Sodium_Core_Curve25519 extends ParagonIE_Sodium_Core_Curve25519_H

17 {

18 /**

File.php (https://gitlab.com/VTTE/sitios-vtte) PHP · 1452 lines

1 <?php

2

3 if (class_exists('ParagonIE_Sodium_File', false)) {

4 return;

5 }

6 /**

7 * Class ParagonIE_Sodium_File

8 */

9 class ParagonIE_Sodium_File extends ParagonIE_Sodium_Core_Util

13

14 /**

15 * Box a file (rather than a string). Uses less memory than

16 * ParagonIE_Sodium_Compat::crypto_box(), but produces

17 * the same result.

Crypto32.php (https://gitlab.com/VTTE/sitios-vtte) PHP · 1506 lines

1 <?php

2

3 if (class_exists('ParagonIE_Sodium_Crypto32', false)) {

4 return;

5 }

6

7 /**

8 * Class ParagonIE_Sodium_Crypto

9 *

10 * ATTENTION!

11 *

12 * If you are using this library, you should be using

13 * ParagonIE_Sodium_Compat in your code, not this class.

14 */

15 abstract class ParagonIE_Sodium_Crypto32

Crypto.php (https://gitlab.com/VTTE/sitios-vtte) PHP · 1513 lines

1 <?php

2

3 if (class_exists('ParagonIE_Sodium_Crypto', false)) {

4 return;

5 }

6

7 /**

8 * Class ParagonIE_Sodium_Crypto

9 *

10 * ATTENTION!

11 *

12 * If you are using this library, you should be using

13 * ParagonIE_Sodium_Compat in your code, not this class.

14 */

15 abstract class ParagonIE_Sodium_Crypto

php72compat.php (https://gitlab.com/VTTE/sitios-vtte) PHP · 1354 lines

8 *

9 * Thus, the functions or constants just proxy to the appropriate

10 * ParagonIE_Sodium_Compat method or class constant, respectively.

11 */

12 foreach (array(

110 /**

111 * @see ParagonIE_Sodium_Compat::bin2base64()

112 * @param string $string

113 * @param int $variant

114 * @param string $ignore

125 /**

126 * @see ParagonIE_Sodium_Compat::bin2base64()

127 * @param string $string

128 * @param int $variant

129 * @return string

139 /**

140 * @see ParagonIE_Sodium_Compat::hex2bin()

141 * @param string $string

142 * @return string

query.php (https://gitlab.com/VTTE/sitios-vtte) PHP · 1196 lines

228 * @global WP_Query $wp_query WordPress Query object.

229 *

230 * @param int|string|int[]|string[] $author Optional. User ID, nickname, nicename, or array of such

231 * to check against. Default empty.

232 * @return bool

321 * @param string|string[] $taxonomy Optional. Taxonomy slug or slugs to check against.

322 * Default empty.

323 * @param int|string|int[]|string[] $term Optional. Term ID, name, slug, or array of such

324 * to check against. Default empty.

325 * @return bool True for custom taxonomy archive pages, false for built-in taxonomies

749 * @global WP_Query $wp_query WordPress Query object.

750 *

751 * @param string|string[] $post_types Optional. Post type or array of post types

752 * to check against. Default empty.

753 * @return bool Whether the query is for an existing single post

post.php (https://gitlab.com/VTTE/sitios-vtte) PHP · 1368 lines

390 /* translators: %s: Number of trashed posts. */

391 'label_count' => _n_noop(

392 'Trash <span class="count">(%s)</span>',

393 'Trash <span class="count">(%s)</span>'

494 * @param int $attachment_id Attachment ID.

495 * @param bool $unfiltered Optional. Whether to apply filters. Default false.

496 * @return string|false The file path to where the attached file should be, false otherwise.

497 */

498 function get_attached_file( $attachment_id, $unfiltered = false ) {

716 * @type string $extended Content after the more tag.

717 * @type string $more_text Custom read more text, or empty string.

718 * }

719 */

845 * @param string $context Optional. How to filter the field. Accepts 'raw', 'edit', 'db',

846 * or 'display'. Default 'display'.

847 * @return string The value of the post field on success, empty string on failure.

848 */

849 function get_post_field( $field, $post = null, $context = 'display' ) {

comment-template.php (https://gitlab.com/VTTE/sitios-vtte) PHP · 1459 lines

422 * @since 4.4.0 Added the ability for `$comment` to also accept a WP_Comment object.

423 *

424 * @param string|array $class Optional. One or more classes to add to the class list.

425 * Default empty.

426 * @param int|WP_Comment $comment Comment ID or WP_Comment object. Default current comment.

433 // Separates classes with a single space, collates classes for comment DIV.

434 $class = 'class="' . join( ' ', get_comment_class( $class, $comment, $post_id ) ) . '"';

435

436 if ( $echo ) {

451 * @global int $comment_thread_alt

452 *

453 * @param string|array $class Optional. One or more classes to add to the class list. Default empty.

454 * @param int|WP_Comment $comment_id Comment ID or WP_Comment object. Default current comment.

455 * @param int|WP_Post $post_id Post ID or WP_Post object. Default current post.

519 $class = preg_split( '#\s+#', $class );

520 }

521 $classes = array_merge( $classes, $class );

522 }

523

qtgradientview.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 99 lines

49 QT_BEGIN_NAMESPACE

50

51 class QtGradientManager;

52 class QListViewItem;

53 class QAction;

54

55 class QtGradientView : public QWidget

56 {

57 Q_OBJECT

62 QtGradientManager *gradientManager() const;

63

64 void setCurrentGradient(const QString &id);

65 QString currentGradient() const;

72 void slotGradientAdded(const QString &id, const QGradient &gradient);

73 void slotGradientRenamed(const QString &id, const QString &newId);

74 void slotGradientChanged(const QString &id, const QGradient &newGradient);

SimpleGdImage.class.old.php (https://gitlab.com/x33n/ProjectPier-Core) PHP · 549 lines

8 * @http://www.projectpier.org/

9 */

10 class SimpleGdImage {

11

12 /** Boundaries **/

25 * Is loaded flag, true if loaded this file from the file (or saved it to the file)

26 *

27 * @var string

28 */

29 protected $is_loaded = false;

39 * Original file path

40 *

41 * @var string

42 */

43 protected $source;

Notifier.class.php (https://gitlab.com/x33n/ProjectPier-Core) PHP · 720 lines

2

3 /**

4 * Notifier class has purpose of sending various notification to users. Primary

5 * notification method is email

6 *

8 * @http://www.projectpier.org/

9 */

10 class Notifier {

11

12 /** Supported transports **/

55 *

56 * @param User $user

57 * @param string $raw_password

58 * @return boolean

59 * @throws NotifierConnectionError

application.php (https://gitlab.com/x33n/ProjectPier-Core) PHP · 729 lines

26 *

27 * @param User $user

28 * @return string

29 */

30 function render_system_notices(User $user) {

49 * @param integer $selected ID of selected company

50 * @param array $attributes Additional attributes

51 * @return string

52 */

53 function select_company($name, $selected = null, $attributes = null) {

721 $result = clean(format_date($application_log_entry->getCreatedOn()));

722 } // if

723 $result = "<span class=\"logTakenOn\">$result</span></td><td><span class=\"logBy\">";

724

725 $taken_by = $application_log_entry->getTakenBy();

web_tester.php (https://gitlab.com/x33n/platform) PHP · 1410 lines

313 /**

314 * Sets the value to compare against.

315 * @param string $substring Text to search for.

316 * @param string $message Customised message on failure.

319 function __construct($substring, $message = '%s') {

320 parent::__construct($message);

321 $this->substring = $substring;

322 }

323

363 * Describes a pattern match including the string

364 * found and it's position.

365 * @param string $substring Text to search for.

366 * @param string $subject Subject to search.

386 /**

387 * Sets the reject pattern

388 * @param string $substring Text to search for.

389 * @param string $message Customised message on failure.

unit_tester.php (https://gitlab.com/x33n/platform) PHP · 413 lines

95

96 /**

97 * Type and class test. Will pass if class

98 * matches the type name or is a subclass or

116 * specified.

117 * @param mixed $object Object to test.

118 * @param string $type Type name as string.

119 * @param string $message Message to display.

325 * @param string $pattern Perl regex to look for including

326 * the regex delimiters.

327 * @param string $subject String to search in.

328 * @param string $message Message to display.

342 * @param string $pattern Perl regex to look for including

343 * the regex delimiters.

344 * @param string $subject String to search in.

345 * @param string $message Message to display.

scorer.php (https://gitlab.com/x33n/platform) PHP · 875 lines

19 * @abstract

20 */

21 class SimpleScorer {

22 private $passes;

23 private $fails;

49 /**

50 * The reporter has a veto on what should be run.

51 * @param string $test_case_name name of test case.

52 * @param string $method Name of test method.

84 /**

85 * Paints the start of a group test.

86 * @param string $test_name Name of test or other label.

87 * @param integer $size Number of test cases starting.

88 * @access public

93 /**

94 * Paints the end of a group test.

95 * @param string $test_name Name of test or other label.

96 * @access public

97 */

expectation.php (https://gitlab.com/x33n/platform) PHP · 984 lines

630 /**

631 * Accessor for the pattern.

632 * @return string Perl regex as string.

633 * @access protected

634 */

762 /**

763 * Tests the expectation. True if the type or

764 * class matches the string value.

765 * @param string $compare Comparison value.

819 /**

820 * Sets the type to compare with.

821 * @param string $type Type or class name.

822 * @param string $message Customised message on failure.

829 /**

830 * Tests the expectation. False if the type or

831 * class matches the string value.

832 * @param string $compare Comparison value.

encoding.php (https://gitlab.com/x33n/platform) PHP · 649 lines

8

9 /**#@+

10 * include other SimpleTest class files

11 */

12 require_once(dirname(__FILE__) . '/socket.php');

142 /**

143 * Tests each character is in the range 0-127.

144 * @param string $ascii String to test.

145 * @access private

146 */

274 /**

275 * Accessor for single value.

276 * @return string/array False if missing, string

277 * if present and array if

278 * multiple entries.

SimpleMessage.php (https://gitlab.com/x33n/platform) PHP · 611 lines

217 * @param string $address

218 * @param string $name optional

219 * @return Swift_Mime_SimpleMessage

220 */

267 * If $name is passed this name will be associated with the address.

268 *

269 * @param string $address

270 * @param string $name optional

535 if (count($children = $this->getChildren()) > 0 && $this->getBody() != '') {

536 $this->setChildren(array_merge(array($this->_becomeMimePart()), $children));

537 $string = parent::toString();

538 $this->setChildren($children);

539 } else {

540 $string = parent::toString();

541 }

542

Google_DriveService.php (https://gitlab.com/x33n/platform) PHP · 884 lines

111 * @param array $optParams Optional parameters.

112 *

113 * @opt_param string q Query string for searching files.

114 * @opt_param string pageToken Page token for files.

790

791 $client->addService($this->serviceName, $this->version);

792 $this->files = new Google_FilesServiceResource($this, $this->serviceName, 'files', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"], "parameters": {"convert": {"default": "false", "type": "boolean", "location": "query"}, "targetLanguage": {"type": "string", "location": "query"}, "sourceLanguage": {"type": "string", "location": "query"}, "ocrLanguage": {"type": "string", "location": "query"}, "pinned": {"default": "false", "type": "boolean", "location": "query"}, "ocr": {"default": "false", "type": "boolean", "location": "query"}, "timedTextTrackName": {"type": "string", "location": "query"}, "timedTextLanguage": {"type": "string", "location": "query"}}, "supportsMediaUpload": true, "request": {"$ref": "File"}, "mediaUpload": {"maxSize": "10GB", "protocols": {"simple": {"path": "/upload/drive/v2/files", "multipart": true}, "resumable": {"path": "/resumable/upload/drive/v2/files", "multipart": true}}, "accept": ["*/*"]}, "response": {"$ref": "File"}, "httpMethod": "POST", "path": "files", "id": "drive.files.insert"}, "untrash": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"], "parameters": {"fileId": {"required": true, "type": "string", "location": "path"}}, "id": "drive.files.untrash", "httpMethod": "POST", "path": "files/{fileId}/untrash", "response": {"$ref": "File"}}, "trash": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"], "parameters": {"fileId": {"required": true, "type": "string", "location": "path"}}, "id": "drive.files.trash", "httpMethod": "POST", "path": "files/{fileId}/trash", "response": {"$ref": "File"}}, "get": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.readonly"], "parameters": {"updateViewedDate": {"default": "false", "type": "boolean", "location": "query"}, "projection": {"enum": ["BASIC", "FULL"], "type": "string", "location": "query"}, "fileId": {"required": true, "type": "string", "location": "path"}}, "id": "drive.files.get", "httpMethod": "GET", "path": "files/{fileId}", "response": {"$ref": "File"}}, "list": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.readonly"], "parameters": {"q": {"type": "string", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "projection": {"enum": ["BASIC", "FULL"], "type": "string", "location": "query"}, "maxResults": {"default": "100", "minimum": "0", "type": "integer", "location": "query", "format": "int32"}}, "response": {"$ref": "FileList"}, "httpMethod": "GET", "path": "files", "id": "drive.files.list"}, "update": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"], "parameters": {"convert": {"default": "false", "type": "boolean", "location": "query"}, "ocr": {"default": "false", "type": "boolean", "location": "query"}, "setModifiedDate": {"default": "false", "type": "boolean", "location": "query"}, "updateViewedDate": {"default": "true", "type": "boolean", "location": "query"}, "sourceLanguage": {"type": "string", "location": "query"}, "ocrLanguage": {"type": "string", "location": "query"}, "pinned": {"default": "false", "type": "boolean", "location": "query"}, "newRevision": {"default": "true", "type": "boolean", "location": "query"}, "targetLanguage": {"type": "string", "location": "query"}, "timedTextLanguage": {"type": "string", "location": "query"}, "timedTextTrackName": {"type": "string", "location": "query"}, "fileId": {"required": true, "type": "string", "location": "path"}}, "supportsMediaUpload": true, "request": {"$ref": "File"}, "mediaUpload": {"maxSize": "10GB", "protocols": {"simple": {"path": "/upload/drive/v2/files/{fileId}", "multipart": true}, "resumable": {"path": "/resumable/upload/drive/v2/files/{fileId}", "multipart": true}}, "accept": ["*/*"]}, "response": {"$ref": "File"}, "httpMethod": "PUT", "path": "files/{fileId}", "id": "drive.files.update"}, "patch": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"], "parameters": {"convert": {"default": "false", "type": "boolean", "location": "query"}, "ocr": {"default": "false", "type": "boolean", "location": "query"}, "setModifiedDate": {"default": "false", "type": "boolean", "location": "query"}, "updateViewedDate": {"default": "true", "type": "boolean", "location": "query"}, "sourceLanguage": {"type": "string", "location": "query"}, "ocrLanguage": {"type": "string", "location": "query"}, "pinned": {"default": "false", "type": "boolean", "location": "query"}, "newRevision": {"default": "true", "type": "boolean", "location": "query"}, "targetLanguage": {"type": "string", "location": "query"}, "timedTextLanguage": {"type": "string", "location": "query"}, "timedTextTrackName": {"type": "string", "location": "query"}, "fileId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "File"}, "response": {"$ref": "File"}, "httpMethod": "PATCH", "path": "files/{fileId}", "id": "drive.files.patch"}, "touch": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"], "parameters": {"fileId": {"required": true, "type": "string", "location": "path"}}, "id": "drive.files.touch", "httpMethod": "POST", "path": "files/{fileId}/touch", "response": {"$ref": "File"}}, "copy": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"], "parameters": {"convert": {"default": "false", "type": "boolean", "location": "query"}, "ocr": {"default": "false", "type": "boolean", "location": "query"}, "sourceLanguage": {"type": "string", "location": "query"}, "ocrLanguage": {"type": "string", "location": "query"}, "pinned": {"default": "false", "type": "boolean", "location": "query"}, "targetLanguage": {"type": "string", "location": "query"}, "timedTextLanguage": {"type": "string", "location": "query"}, "timedTextTrackName": {"type": "string", "location": "query"}, "fileId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "File"}, "response": {"$ref": "File"}, "httpMethod": "POST", "path": "files/{fileId}/copy", "id": "drive.files.copy"}, "delete": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"], "path": "files/{fileId}", "id": "drive.files.delete", "parameters": {"fileId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE"}}}', true));

793 $this->about = new Google_AboutServiceResource($this, $this->serviceName, 'about', json_decode('{"methods": {"get": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.readonly"], "parameters": {"includeSubscribed": {"default": "true", "type": "boolean", "location": "query"}, "maxChangeIdCount": {"default": "1", "type": "string", "location": "query", "format": "int64"}, "startChangeId": {"type": "string", "location": "query", "format": "int64"}}, "response": {"$ref": "About"}, "httpMethod": "GET", "path": "about", "id": "drive.about.get"}}}', true));

795 $this->parents = new Google_ParentsServiceResource($this, $this->serviceName, 'parents', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"], "parameters": {"fileId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "ParentReference"}, "response": {"$ref": "ParentReference"}, "httpMethod": "POST", "path": "files/{fileId}/parents", "id": "drive.parents.insert"}, "get": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.readonly"], "parameters": {"parentId": {"required": true, "type": "string", "location": "path"}, "fileId": {"required": true, "type": "string", "location": "path"}}, "id": "drive.parents.get", "httpMethod": "GET", "path": "files/{fileId}/parents/{parentId}", "response": {"$ref": "ParentReference"}}, "list": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.readonly"], "parameters": {"fileId": {"required": true, "type": "string", "location": "path"}}, "id": "drive.parents.list", "httpMethod": "GET", "path": "files/{fileId}/parents", "response": {"$ref": "ParentList"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"], "path": "files/{fileId}/parents/{parentId}", "id": "drive.parents.delete", "parameters": {"parentId": {"required": true, "type": "string", "location": "path"}, "fileId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE"}}}', true));

796 $this->revisions = new Google_RevisionsServiceResource($this, $this->serviceName, 'revisions', json_decode('{"methods": {"patch": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"], "parameters": {"revisionId": {"required": true, "type": "string", "location": "path"}, "fileId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Revision"}, "response": {"$ref": "Revision"}, "httpMethod": "PATCH", "path": "files/{fileId}/revisions/{revisionId}", "id": "drive.revisions.patch"}, "get": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.readonly"], "parameters": {"revisionId": {"required": true, "type": "string", "location": "path"}, "fileId": {"required": true, "type": "string", "location": "path"}}, "id": "drive.revisions.get", "httpMethod": "GET", "path": "files/{fileId}/revisions/{revisionId}", "response": {"$ref": "Revision"}}, "list": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.readonly"], "parameters": {"fileId": {"required": true, "type": "string", "location": "path"}}, "id": "drive.revisions.list", "httpMethod": "GET", "path": "files/{fileId}/revisions", "response": {"$ref": "RevisionList"}}, "update": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"], "parameters": {"revisionId": {"required": true, "type": "string", "location": "path"}, "fileId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Revision"}, "response": {"$ref": "Revision"}, "httpMethod": "PUT", "path": "files/{fileId}/revisions/{revisionId}", "id": "drive.revisions.update"}, "delete": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"], "path": "files/{fileId}/revisions/{revisionId}", "id": "drive.revisions.delete", "parameters": {"revisionId": {"required": true, "type": "string", "location": "path"}, "fileId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE"}}}', true));

797 $this->changes = new Google_ChangesServiceResource($this, $this->serviceName, 'changes', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.readonly"], "parameters": {"includeSubscribed": {"default": "true", "type": "boolean", "location": "query"}, "startChangeId": {"type": "string", "location": "query", "format": "int64"}, "includeDeleted": {"default": "true", "type": "boolean", "location": "query"}, "maxResults": {"default": "100", "minimum": "0", "type": "integer", "location": "query", "format": "int32"}, "pageToken": {"type": "string", "location": "query"}}, "response": {"$ref": "ChangeList"}, "httpMethod": "GET", "path": "changes", "id": "drive.changes.list"}, "get": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.readonly"], "parameters": {"changeId": {"required": true, "type": "string", "location": "path"}}, "id": "drive.changes.get", "httpMethod": "GET", "path": "changes/{changeId}", "response": {"$ref": "Change"}}}}', true));

798 $this->children = new Google_ChildrenServiceResource($this, $this->serviceName, 'children', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"], "parameters": {"folderId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "ChildReference"}, "response": {"$ref": "ChildReference"}, "httpMethod": "POST", "path": "files/{folderId}/children", "id": "drive.children.insert"}, "get": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.readonly"], "parameters": {"folderId": {"required": true, "type": "string", "location": "path"}, "childId": {"required": true, "type": "string", "location": "path"}}, "id": "drive.children.get", "httpMethod": "GET", "path": "files/{folderId}/children/{childId}", "response": {"$ref": "ChildReference"}}, "list": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.readonly"], "parameters": {"q": {"type": "string", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "folderId": {"required": true, "type": "string", "location": "path"}, "maxResults": {"default": "100", "minimum": "0", "type": "integer", "location": "query", "format": "int32"}}, "id": "drive.children.list", "httpMethod": "GET", "path": "files/{folderId}/children", "response": {"$ref": "ChildList"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"], "path": "files/{folderId}/children/{childId}", "id": "drive.children.delete", "parameters": {"folderId": {"required": true, "type": "string", "location": "path"}, "childId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE"}}}', true));

799 $this->permissions = new Google_PermissionsServiceResource($this, $this->serviceName, 'permissions', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"], "parameters": {"sendNotificationEmails": {"default": "true", "type": "boolean", "location": "query"}, "fileId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Permission"}, "response": {"$ref": "Permission"}, "httpMethod": "POST", "path": "files/{fileId}/permissions", "id": "drive.permissions.insert"}, "get": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.readonly"], "parameters": {"permissionId": {"required": true, "type": "string", "location": "path"}, "fileId": {"required": true, "type": "string", "location": "path"}}, "id": "drive.permissions.get", "httpMethod": "GET", "path": "files/{fileId}/permissions/{permissionId}", "response": {"$ref": "Permission"}}, "list": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file", "https://www.googleapis.com/auth/drive.metadata.readonly", "https://www.googleapis.com/auth/drive.readonly"], "parameters": {"fileId": {"required": true, "type": "string", "location": "path"}}, "id": "drive.permissions.list", "httpMethod": "GET", "path": "files/{fileId}/permissions", "response": {"$ref": "PermissionList"}}, "update": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"], "parameters": {"permissionId": {"required": true, "type": "string", "location": "path"}, "fileId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Permission"}, "response": {"$ref": "Permission"}, "httpMethod": "PUT", "path": "files/{fileId}/permissions/{permissionId}", "id": "drive.permissions.update"}, "patch": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"], "parameters": {"permissionId": {"required": true, "type": "string", "location": "path"}, "fileId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Permission"}, "response": {"$ref": "Permission"}, "httpMethod": "PATCH", "path": "files/{fileId}/permissions/{permissionId}", "id": "drive.permissions.patch"}, "delete": {"scopes": ["https://www.googleapis.com/auth/drive", "https://www.googleapis.com/auth/drive.file"], "path": "files/{fileId}/permissions/{permissionId}", "id": "drive.permissions.delete", "parameters": {"permissionId": {"required": true, "type": "string", "location": "path"}, "fileId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE"}}}', true));

800

801 }

Google_CalendarService.php (https://gitlab.com/x33n/platform) PHP · 977 lines

23 * </code>

24 */

25 class Google_FreebusyServiceResource extends Google_ServiceResource {

26

27

53 * </code>

54 */

55 class Google_SettingsServiceResource extends Google_ServiceResource {

56

57

735 $this->settings = new Google_SettingsServiceResource($this, $this->serviceName, 'settings', json_decode('{"methods": {"list": {"scopes": ["https://www.googleapis.com/auth/calendar", "https://www.googleapis.com/auth/calendar.readonly"], "path": "users/me/settings", "response": {"$ref": "Settings"}, "id": "calendar.settings.list", "httpMethod": "GET"}, "get": {"scopes": ["https://www.googleapis.com/auth/calendar", "https://www.googleapis.com/auth/calendar.readonly"], "parameters": {"setting": {"required": true, "type": "string", "location": "path"}}, "id": "calendar.settings.get", "httpMethod": "GET", "path": "users/me/settings/{setting}", "response": {"$ref": "Setting"}}}}', true));

736 $this->calendarList = new Google_CalendarListServiceResource($this, $this->serviceName, 'calendarList', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"colorRgbFormat": {"type": "boolean", "location": "query"}}, "request": {"$ref": "CalendarListEntry"}, "response": {"$ref": "CalendarListEntry"}, "httpMethod": "POST", "path": "users/me/calendarList", "id": "calendar.calendarList.insert"}, "get": {"scopes": ["https://www.googleapis.com/auth/calendar", "https://www.googleapis.com/auth/calendar.readonly"], "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}}, "id": "calendar.calendarList.get", "httpMethod": "GET", "path": "users/me/calendarList/{calendarId}", "response": {"$ref": "CalendarListEntry"}}, "list": {"scopes": ["https://www.googleapis.com/auth/calendar", "https://www.googleapis.com/auth/calendar.readonly"], "parameters": {"pageToken": {"type": "string", "location": "query"}, "showHidden": {"type": "boolean", "location": "query"}, "maxResults": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}, "minAccessRole": {"enum": ["freeBusyReader", "owner", "reader", "writer"], "type": "string", "location": "query"}}, "response": {"$ref": "CalendarList"}, "httpMethod": "GET", "path": "users/me/calendarList", "id": "calendar.calendarList.list"}, "update": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"colorRgbFormat": {"type": "boolean", "location": "query"}, "calendarId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "CalendarListEntry"}, "response": {"$ref": "CalendarListEntry"}, "httpMethod": "PUT", "path": "users/me/calendarList/{calendarId}", "id": "calendar.calendarList.update"}, "patch": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"colorRgbFormat": {"type": "boolean", "location": "query"}, "calendarId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "CalendarListEntry"}, "response": {"$ref": "CalendarListEntry"}, "httpMethod": "PATCH", "path": "users/me/calendarList/{calendarId}", "id": "calendar.calendarList.patch"}, "delete": {"scopes": ["https://www.googleapis.com/auth/calendar"], "path": "users/me/calendarList/{calendarId}", "id": "calendar.calendarList.delete", "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE"}}}', true));

737 $this->calendars = new Google_CalendarsServiceResource($this, $this->serviceName, 'calendars', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/calendar"], "request": {"$ref": "Calendar"}, "response": {"$ref": "Calendar"}, "httpMethod": "POST", "path": "calendars", "id": "calendar.calendars.insert"}, "get": {"scopes": ["https://www.googleapis.com/auth/calendar", "https://www.googleapis.com/auth/calendar.readonly"], "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}}, "id": "calendar.calendars.get", "httpMethod": "GET", "path": "calendars/{calendarId}", "response": {"$ref": "Calendar"}}, "clear": {"scopes": ["https://www.googleapis.com/auth/calendar"], "path": "calendars/{calendarId}/clear", "id": "calendar.calendars.clear", "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "POST"}, "update": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Calendar"}, "response": {"$ref": "Calendar"}, "httpMethod": "PUT", "path": "calendars/{calendarId}", "id": "calendar.calendars.update"}, "patch": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Calendar"}, "response": {"$ref": "Calendar"}, "httpMethod": "PATCH", "path": "calendars/{calendarId}", "id": "calendar.calendars.patch"}, "delete": {"scopes": ["https://www.googleapis.com/auth/calendar"], "path": "calendars/{calendarId}", "id": "calendar.calendars.delete", "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE"}}}', true));

738 $this->acl = new Google_AclServiceResource($this, $this->serviceName, 'acl', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "AclRule"}, "response": {"$ref": "AclRule"}, "httpMethod": "POST", "path": "calendars/{calendarId}/acl", "id": "calendar.acl.insert"}, "get": {"scopes": ["https://www.googleapis.com/auth/calendar", "https://www.googleapis.com/auth/calendar.readonly"], "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}, "ruleId": {"required": true, "type": "string", "location": "path"}}, "id": "calendar.acl.get", "httpMethod": "GET", "path": "calendars/{calendarId}/acl/{ruleId}", "response": {"$ref": "AclRule"}}, "list": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}}, "id": "calendar.acl.list", "httpMethod": "GET", "path": "calendars/{calendarId}/acl", "response": {"$ref": "Acl"}}, "update": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}, "ruleId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "AclRule"}, "response": {"$ref": "AclRule"}, "httpMethod": "PUT", "path": "calendars/{calendarId}/acl/{ruleId}", "id": "calendar.acl.update"}, "patch": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}, "ruleId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "AclRule"}, "response": {"$ref": "AclRule"}, "httpMethod": "PATCH", "path": "calendars/{calendarId}/acl/{ruleId}", "id": "calendar.acl.patch"}, "delete": {"scopes": ["https://www.googleapis.com/auth/calendar"], "path": "calendars/{calendarId}/acl/{ruleId}", "id": "calendar.acl.delete", "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}, "ruleId": {"required": true, "type": "string", "location": "path"}}, "httpMethod": "DELETE"}}}', true));

739 $this->colors = new Google_ColorsServiceResource($this, $this->serviceName, 'colors', json_decode('{"methods": {"get": {"scopes": ["https://www.googleapis.com/auth/calendar", "https://www.googleapis.com/auth/calendar.readonly"], "path": "colors", "response": {"$ref": "Colors"}, "id": "calendar.colors.get", "httpMethod": "GET"}}}', true));

740 $this->events = new Google_EventsServiceResource($this, $this->serviceName, 'events', json_decode('{"methods": {"insert": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}, "sendNotifications": {"type": "boolean", "location": "query"}}, "request": {"$ref": "Event"}, "response": {"$ref": "Event"}, "httpMethod": "POST", "path": "calendars/{calendarId}/events", "id": "calendar.events.insert"}, "get": {"scopes": ["https://www.googleapis.com/auth/calendar", "https://www.googleapis.com/auth/calendar.readonly"], "parameters": {"eventId": {"required": true, "type": "string", "location": "path"}, "timeZone": {"type": "string", "location": "query"}, "calendarId": {"required": true, "type": "string", "location": "path"}, "alwaysIncludeEmail": {"type": "boolean", "location": "query"}, "maxAttendees": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}}, "id": "calendar.events.get", "httpMethod": "GET", "path": "calendars/{calendarId}/events/{eventId}", "response": {"$ref": "Event"}}, "move": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"eventId": {"required": true, "type": "string", "location": "path"}, "destination": {"required": true, "type": "string", "location": "query"}, "calendarId": {"required": true, "type": "string", "location": "path"}, "sendNotifications": {"type": "boolean", "location": "query"}}, "id": "calendar.events.move", "httpMethod": "POST", "path": "calendars/{calendarId}/events/{eventId}/move", "response": {"$ref": "Event"}}, "list": {"scopes": ["https://www.googleapis.com/auth/calendar", "https://www.googleapis.com/auth/calendar.readonly"], "parameters": {"orderBy": {"enum": ["startTime", "updated"], "type": "string", "location": "query"}, "showHiddenInvitations": {"type": "boolean", "location": "query"}, "showDeleted": {"type": "boolean", "location": "query"}, "iCalUID": {"type": "string", "location": "query"}, "updatedMin": {"type": "string", "location": "query", "format": "date-time"}, "singleEvents": {"type": "boolean", "location": "query"}, "alwaysIncludeEmail": {"type": "boolean", "location": "query"}, "maxResults": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}, "q": {"type": "string", "location": "query"}, "pageToken": {"type": "string", "location": "query"}, "calendarId": {"required": true, "type": "string", "location": "path"}, "timeMin": {"type": "string", "location": "query", "format": "date-time"}, "timeZone": {"type": "string", "location": "query"}, "timeMax": {"type": "string", "location": "query", "format": "date-time"}, "maxAttendees": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}}, "id": "calendar.events.list", "httpMethod": "GET", "path": "calendars/{calendarId}/events", "response": {"$ref": "Events"}}, "update": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"eventId": {"required": true, "type": "string", "location": "path"}, "calendarId": {"required": true, "type": "string", "location": "path"}, "alwaysIncludeEmail": {"type": "boolean", "location": "query"}, "sendNotifications": {"type": "boolean", "location": "query"}}, "request": {"$ref": "Event"}, "response": {"$ref": "Event"}, "httpMethod": "PUT", "path": "calendars/{calendarId}/events/{eventId}", "id": "calendar.events.update"}, "patch": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"eventId": {"required": true, "type": "string", "location": "path"}, "calendarId": {"required": true, "type": "string", "location": "path"}, "alwaysIncludeEmail": {"type": "boolean", "location": "query"}, "sendNotifications": {"type": "boolean", "location": "query"}}, "request": {"$ref": "Event"}, "response": {"$ref": "Event"}, "httpMethod": "PATCH", "path": "calendars/{calendarId}/events/{eventId}", "id": "calendar.events.patch"}, "instances": {"scopes": ["https://www.googleapis.com/auth/calendar", "https://www.googleapis.com/auth/calendar.readonly"], "parameters": {"eventId": {"required": true, "type": "string", "location": "path"}, "showDeleted": {"type": "boolean", "location": "query"}, "alwaysIncludeEmail": {"type": "boolean", "location": "query"}, "maxResults": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}, "pageToken": {"type": "string", "location": "query"}, "calendarId": {"required": true, "type": "string", "location": "path"}, "timeZone": {"type": "string", "location": "query"}, "originalStart": {"type": "string", "location": "query"}, "maxAttendees": {"minimum": "1", "type": "integer", "location": "query", "format": "int32"}}, "id": "calendar.events.instances", "httpMethod": "GET", "path": "calendars/{calendarId}/events/{eventId}/instances", "response": {"$ref": "Events"}}, "import": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"calendarId": {"required": true, "type": "string", "location": "path"}}, "request": {"$ref": "Event"}, "response": {"$ref": "Event"}, "httpMethod": "POST", "path": "calendars/{calendarId}/events/import", "id": "calendar.events.import"}, "quickAdd": {"scopes": ["https://www.googleapis.com/auth/calendar"], "parameters": {"text": {"required": true, "type": "string", "location": "query"}, "calendarId": {"required": true, "type": "string", "location": "path"}, "sendNotifications": {"type": "boolean", "location": "query"}}, "id": "calendar.events.quickAdd", "httpMethod": "POST", "path": "calendars/{calendarId}/events/quickAdd", "response": {"$ref": "Event"}}, "delete": {"scopes": ["https://www.googleapis.com/auth/calendar"], "path": "calendars/{calendarId}/events/{eventId}", "id": "calendar.events.delete", "parameters": {"eventId": {"required": true, "type": "string", "location": "path"}, "calendarId": {"required": true, "type": "string", "location": "path"}, "sendNotifications": {"type": "boolean", "location": "query"}}, "httpMethod": "DELETE"}}}', true));

741

742 }

TaskCreationTest.php (https://gitlab.com/x33n/kanboard) PHP · 416 lines

11 use Model\ProjectPermission;

12

13 class TaskCreationTest extends Base

14 {

15 public function onCreate($event)

339 $this->assertEquals(time(), $task['date_started'], '', 1);

340

341 // Set empty string

342 $this->assertEquals(5, $tc->create(array('project_id' => 1, 'title' => 'test', 'date_started' => '')));

343 $task = $tf->getById(5);

NotificationTest.php (https://gitlab.com/x33n/kanboard) PHP · 336 lines

14 use Subscriber\NotificationSubscriber;

15

16 class NotificationTest extends Base

17 {

18 public function testFilterNone()

292 $this->equalTo('user1'),

293 $this->equalTo('[test][Task opened] blah (#2)'),

294 $this->stringContains('blah')

295 );

296

Swimlane.php (https://gitlab.com/x33n/kanboard) PHP · 561 lines

12 * @author Frederic Guillot

13 */

14 class Swimlane extends Base

15 {

16 /**

17 * SQL table name

18 *

19 * @var string

20 */

21 const TABLE = 'swimlanes';

52 * @access public

53 * @param integer $swimlane_id Swimlane id

54 * @return string

55 */

56 public function getNameById($swimlane_id)

Validation.php (https://gitlab.com/x33n/grav) PHP · 597 lines

8 * @license MIT

9 */

10 class Validation

11 {

12 /**

27

28 // Validate type with fallback type text.

29 $type = (string) isset($field['validate']['type']) ? $field['validate']['type'] : $field['type'];

30 $method = 'type'.strtr($type, '-', '_');

31 if (method_exists(__CLASS__, $method)) {

42 foreach ($validate as $rule => $params) {

43 $method = 'validate'.strtr($rule, '-', '_');

44 if (method_exists(__CLASS__, $method)) {

45 $success = self::$method($value, $params);

46 if (!$success) {

pSpring.class.php (https://gitlab.com/x33n/ampache) PHP · 868 lines

1 <?php

2 /*

3 pSpring - class to draw spring graphs

4

5 Version : 2.1.4

11 http://www.pchart.net/license

12

13 You can find the whole class documentation on the pChart web site.

14 */

15

26 define("ALGORITHM_CENTRAL" , 690024);

27

28 define("LABEL_CLASSIC" , 690031);

29 define("LABEL_LIGHT" , 690032);

30

Movie.php (https://gitlab.com/x33n/ampache) PHP · 981 lines

26

27 /**

28 * Class Movie

29 * @package Tmdb\Model

30 */

31 class Movie extends AbstractModel

32 {

33 /**

37

38 /**

39 * @var string

40 */

41 private $backdropPath;

Route.php (https://gitlab.com/x33n/ampache) PHP · 646 lines

69 * Available options:

70 *

71 * * compiler_class: A class name able to compile this route instance (RouteCompiler by default)

72 *

73 * @param string $path The path pattern to match

284 * This method implements a fluent interface.

285 *

286 * @param string|array $methods The method or an array of methods

287 *

288 * @return Route The current Route instance

612 }

613

614 $class = $this->getOption('compiler_class');

615

616 return $this->compiled = $class::compile($this);

XmlVisitorTest.php (https://gitlab.com/x33n/respond) PHP · 558 lines

12 * @covers Guzzle\Service\Command\LocationVisitor\Request\XmlVisitor

13 */

14 class XmlVisitorTest extends AbstractVisitorTestCase

15 {

16 public function xmlProvider()

26 ),

27 'parameters' => array(

28 'Foo' => array('location' => 'xml', 'type' => 'string'),

29 'Baz' => array('location' => 'xml', 'type' => 'string')

34 ),

35 // Ensure that the content-type is not added

36 array(array('parameters' => array('Foo' => array('location' => 'xml', 'type' => 'string'))), array(), ''),

37 // Test with adding attributes and no namespace

38 array(

44 ),

45 'parameters' => array(

46 'Foo' => array('location' => 'xml', 'type' => 'string', 'data' => array('xmlAttribute' => true))

47 )

48 ),

swf-2012-01-25.php (https://gitlab.com/x33n/respond) PHP · 1207 lines

82 'httpMethod' => 'POST',

83 'uri' => '/',

84 'class' => 'Aws\\Common\\Command\\JsonCommand',

85 'responseClass' => 'WorkflowExecutionCount',

102 'domain' => array(

103 'required' => true,

104 'type' => 'string',

105 'location' => 'json',

106 'minLength' => 1,

115 'type' => array(

116 'object',

117 'string',

118 'integer',

119 ),

123 'type' => array(

124 'object',

125 'string',

126 'integer',

127 ),

support-2013-04-15.php (https://gitlab.com/x33n/respond) PHP · 1216 lines

35 'httpMethod' => 'POST',

36 'uri' => '/',

37 'class' => 'Aws\\Common\\Command\\JsonCommand',

38 'responseClass' => 'AddAttachmentsToSetResponse',

54 ),

55 'attachmentSetId' => array(

56 'type' => 'string',

57 'location' => 'json',

58 ),

66 'properties' => array(

67 'fileName' => array(

68 'type' => 'string',

69 ),

70 'data' => array(

71 'type' => 'string',

72 'filters' => array(

73 'base64_encode',

sts-2011-06-15.php (https://gitlab.com/x33n/respond) PHP · 657 lines

81 'httpMethod' => 'POST',

82 'uri' => '/',

83 'class' => 'Aws\\Common\\Command\\QueryCommand',

84 'responseClass' => 'AssumeRoleResponse',

97 'RoleArn' => array(

98 'required' => true,

99 'type' => 'string',

100 'location' => 'aws.query',

101 'minLength' => 20,

104 'RoleSessionName' => array(

105 'required' => true,

106 'type' => 'string',

107 'location' => 'aws.query',

108 'minLength' => 2,

110 ),

111 'Policy' => array(

112 'type' => 'string',

113 'location' => 'aws.query',

114 'minLength' => 1,

storagegateway-2013-06-30.php (https://gitlab.com/x33n/respond) PHP · 1193 lines

75 'httpMethod' => 'POST',

76 'uri' => '/',

77 'class' => 'Aws\\Common\\Command\\JsonCommand',

78 'responseClass' => 'ActivateGatewayOutput',

95 'ActivationKey' => array(

96 'required' => true,

97 'type' => 'string',

98 'location' => 'json',

99 'minLength' => 1,

102 'GatewayName' => array(

103 'required' => true,

104 'type' => 'string',

105 'location' => 'json',

106 'minLength' => 2,

109 'GatewayTimezone' => array(

110 'required' => true,

111 'type' => 'string',

112 'location' => 'json',

113 'minLength' => 3,

sqs-2012-11-05.php (https://gitlab.com/x33n/respond) PHP · 1223 lines

80 'httpMethod' => 'POST',

81 'uri' => '/',

82 'class' => 'Aws\\Common\\Command\\QueryCommand',

83 'responseClass' => 'EmptyOutput',

96 'QueueUrl' => array(

97 'required' => true,

98 'type' => 'string',

99 'location' => 'aws.query',

100 ),

101 'Label' => array(

102 'required' => true,

103 'type' => 'string',

104 'location' => 'aws.query',

105 ),

111 'items' => array(

112 'name' => 'AWSAccountId',

113 'type' => 'string',

114 ),

115 ),

sns-2010-03-31.php (https://gitlab.com/x33n/respond) PHP · 1238 lines

80 'httpMethod' => 'POST',

81 'uri' => '/',

82 'class' => 'Aws\\Common\\Command\\QueryCommand',

83 'responseClass' => 'EmptyOutput',

96 'TopicArn' => array(

97 'required' => true,

98 'type' => 'string',

99 'location' => 'aws.query',

100 ),

101 'Label' => array(

102 'required' => true,

103 'type' => 'string',

104 'location' => 'aws.query',

105 ),

111 'items' => array(

112 'name' => 'delegate',

113 'type' => 'string',

114 ),

115 ),

simpledb-2009-04-15.php (https://gitlab.com/x33n/respond) PHP · 854 lines

69 'httpMethod' => 'POST',

70 'uri' => '/',

71 'class' => 'Aws\\Common\\Command\\QueryCommand',

72 'responseClass' => 'EmptyOutput',

85 'DomainName' => array(

86 'required' => true,

87 'type' => 'string',

88 'location' => 'aws.query',

89 ),

99 'Name' => array(

100 'required' => true,

101 'type' => 'string',

102 'sentAs' => 'ItemName',

103 ),

111 'Name' => array(

112 'required' => true,

113 'type' => 'string',

114 ),

115 'AlternateNameEncoding' => array(

ses-2010-12-01.php (https://gitlab.com/x33n/respond) PHP · 937 lines

45 'httpMethod' => 'POST',

46 'uri' => '/',

47 'class' => 'Aws\\Common\\Command\\QueryCommand',

48 'responseClass' => 'EmptyOutput',

61 'Identity' => array(

62 'required' => true,

63 'type' => 'string',

64 'location' => 'aws.query',

65 ),

69 'httpMethod' => 'POST',

70 'uri' => '/',

71 'class' => 'Aws\\Common\\Command\\QueryCommand',

72 'responseClass' => 'EmptyOutput',

86 'EmailAddress' => array(

87 'required' => true,

88 'type' => 'string',

89 'location' => 'aws.query',

90 ),

route53domains-2014-05-15.php (https://gitlab.com/x33n/respond) PHP · 1161 lines

35 'httpMethod' => 'POST',

36 'uri' => '/',

37 'class' => 'Aws\\Common\\Command\\JsonCommand',

38 'responseClass' => 'CheckDomainAvailabilityResponse',

55 'DomainName' => array(

56 'required' => true,

57 'type' => 'string',

58 'location' => 'json',

59 'maxLength' => 255,

60 ),

61 'IdnLangCode' => array(

62 'type' => 'string',

63 'location' => 'json',

64 'maxLength' => 3,

68 array(

69 'reason' => 'The requested item is not acceptable. For example, for an OperationId it may refer to the ID of an operation that is already completed. For a domain name, it may not be a valid domain name or belong to the requester account.',

70 'class' => 'InvalidInputException',

71 ),

72 array(

redshift-2012-12-01.php (https://gitlab.com/x33n/respond) PHP · 1162 lines

59 'httpMethod' => 'POST',

60 'uri' => '/',

61 'class' => 'Aws\\Common\\Command\\QueryCommand',

62 'responseClass' => 'ClusterSecurityGroupWrapper',

75 'ClusterSecurityGroupName' => array(

76 'required' => true,

77 'type' => 'string',

78 'location' => 'aws.query',

79 ),

80 'CIDRIP' => array(

81 'type' => 'string',

82 'location' => 'aws.query',

83 ),

84 'EC2SecurityGroupName' => array(

85 'type' => 'string',

86 'location' => 'aws.query',

87 ),

rds-2014-09-01.php (https://gitlab.com/x33n/respond) PHP · 1207 lines

80 'httpMethod' => 'POST',

81 'uri' => '/',

82 'class' => 'Aws\\Common\\Command\\QueryCommand',

83 'responseClass' => 'EventSubscriptionWrapper',

96 'SubscriptionName' => array(

97 'required' => true,

98 'type' => 'string',

99 'location' => 'aws.query',

100 ),

101 'SourceIdentifier' => array(

102 'required' => true,

103 'type' => 'string',

104 'location' => 'aws.query',

105 ),

108 array(

109 'reason' => 'The subscription name does not exist.',

110 'class' => 'SubscriptionNotFoundException',

111 ),

112 array(

opsworks-2013-02-18.php (https://gitlab.com/x33n/respond) PHP · 1307 lines

35 'httpMethod' => 'POST',

36 'uri' => '/',

37 'class' => 'Aws\\Common\\Command\\JsonCommand',

38 'responseClass' => 'EmptyOutput',

55 'InstanceId' => array(

56 'required' => true,

57 'type' => 'string',

58 'location' => 'json',

59 ),

63 'location' => 'json',

64 'items' => array(

65 'name' => 'String',

66 'type' => 'string',

71 array(

72 'reason' => 'Indicates that a request was invalid.',

73 'class' => 'ValidationException',

74 ),

75 array(

lambda-2014-11-11.php (https://gitlab.com/x33n/respond) PHP · 742 lines

26 'httpMethod' => 'POST',

27 'uri' => '/2014-11-13/event-source-mappings/',

28 'class' => 'Guzzle\\Service\\Command\\OperationCommand',

29 'responseClass' => 'EventSourceConfiguration',

32 'EventSource' => array(

33 'required' => true,

34 'type' => 'string',

35 'location' => 'json',

36 ),

37 'FunctionName' => array(

38 'required' => true,

39 'type' => 'string',

40 'location' => 'json',

41 'minLength' => 1,

44 'Role' => array(

45 'required' => true,

46 'type' => 'string',

47 'location' => 'json',

48 ),

kms-2014-11-01.php (https://gitlab.com/x33n/respond) PHP · 1198 lines

29 'httpMethod' => 'POST',

30 'uri' => '/',

31 'class' => 'Aws\\Common\\Command\\JsonCommand',

32 'responseClass' => 'EmptyOutput',

49 'AliasName' => array(

50 'required' => true,

51 'type' => 'string',

52 'location' => 'json',

53 'minLength' => 1,

56 'TargetKeyId' => array(

57 'required' => true,

58 'type' => 'string',

59 'location' => 'json',

60 'minLength' => 1,

65 array(

66 'reason' => 'The system timed out while trying to fulfill the request.',

67 'class' => 'DependencyTimeoutException',

68 ),

69 array(

kinesis-2013-12-02.php (https://gitlab.com/x33n/respond) PHP · 1015 lines

61 'httpMethod' => 'POST',

62 'uri' => '/',

63 'class' => 'Aws\\Common\\Command\\JsonCommand',

64 'responseClass' => 'EmptyOutput',

81 'StreamName' => array(

82 'required' => true,

83 'type' => 'string',

84 'location' => 'json',

85 'minLength' => 1,

91 'location' => 'json',

92 'additionalProperties' => array(

93 'type' => 'string',

94 'maxLength' => 256,

95 'data' => array(

102 array(

103 'reason' => 'The requested resource could not be found. It might not be specified correctly, or it might not be in the ACTIVE state.',

104 'class' => 'ResourceNotFoundException',

105 ),

106 array(

importexport-2010-06-01.php (https://gitlab.com/x33n/respond) PHP · 566 lines

70 'httpMethod' => 'POST',

71 'uri' => '/',

72 'class' => 'Aws\\Common\\Command\\QueryCommand',

73 'responseClass' => 'CancelJobOutput',

86 'JobId' => array(

87 'required' => true,

88 'type' => 'string',

89 'location' => 'aws.query',

90 ),

93 array(

94 'reason' => 'The JOBID was missing, not found, or not associated with the AWS account.',

95 'class' => 'InvalidJobIdException',

96 ),

97 array(

98 'reason' => 'Indicates that the specified job has expired out of the system.',

99 'class' => 'ExpiredJobIdException',

100 ),

101 array(

iam-2010-05-08.php (https://gitlab.com/x33n/respond) PHP · 1159 lines

81 'httpMethod' => 'POST',

82 'uri' => '/',

83 'class' => 'Aws\\Common\\Command\\QueryCommand',

84 'responseClass' => 'EmptyOutput',

97 'OpenIDConnectProviderArn' => array(

98 'required' => true,

99 'type' => 'string',

100 'location' => 'aws.query',

101 'minLength' => 20,

104 'ClientID' => array(

105 'required' => true,

106 'type' => 'string',

107 'location' => 'aws.query',

108 'minLength' => 1,

113 array(

114 'reason' => 'The request was rejected because an invalid or out-of-range value was supplied for an input parameter.',

115 'class' => 'InvalidInputException',

116 ),

117 array(

glacier-2012-06-01.php (https://gitlab.com/x33n/respond) PHP · 1221 lines

63 'httpMethod' => 'DELETE',

64 'uri' => '/{accountId}/vaults/{vaultName}/multipart-uploads/{uploadId}',

65 'class' => 'Guzzle\\Service\\Command\\OperationCommand',

66 'responseClass' => 'EmptyOutput',

69 'accountId' => array(

70 'required' => true,

71 'type' => 'string',

72 'location' => 'uri',

73 ),

74 'vaultName' => array(

75 'required' => true,

76 'type' => 'string',

77 'location' => 'uri',

78 ),

79 'uploadId' => array(

80 'required' => true,

81 'type' => 'string',

82 'location' => 'uri',

83 ),

emr-2009-03-31.php (https://gitlab.com/x33n/respond) PHP · 1213 lines

82 'httpMethod' => 'POST',

83 'uri' => '/',

84 'class' => 'Aws\\Common\\Command\\JsonCommand',

85 'responseClass' => 'AddInstanceGroupsOutput',

109 'properties' => array(

110 'Name' => array(

111 'type' => 'string',

112 'maxLength' => 256,

113 ),

114 'Market' => array(

115 'type' => 'string',

116 ),

117 'InstanceRole' => array(

118 'required' => true,

119 'type' => 'string',

120 ),

121 'BidPrice' => array(

elastictranscoder-2012-09-25.php (https://gitlab.com/x33n/respond) PHP · 997 lines

58 'httpMethod' => 'DELETE',

59 'uri' => '/2012-09-25/jobs/{Id}',

60 'class' => 'Guzzle\\Service\\Command\\OperationCommand',

61 'responseClass' => 'EmptyOutput',

64 'Id' => array(

65 'required' => true,

66 'type' => 'string',

67 'location' => 'uri',

68 ),

71 array(

72 'reason' => 'One or more required parameter values were not provided in the request.',

73 'class' => 'ValidationException',

74 ),

75 array(

76 'class' => 'IncompatibleVersionException',

77 ),

78 array(

elasticloadbalancing-2012-06-01.php (https://gitlab.com/x33n/respond) PHP · 1241 lines

79 'httpMethod' => 'POST',

80 'uri' => '/',

81 'class' => 'Aws\\Common\\Command\\QueryCommand',

82 'responseClass' => 'EmptyOutput',

100 'items' => array(

101 'name' => 'AccessPointName',

102 'type' => 'string',

103 ),

104 ),

115 'Key' => array(

116 'required' => true,

117 'type' => 'string',

118 'minLength' => 1,

119 'maxLength' => 128,

120 ),

121 'Value' => array(

122 'type' => 'string',

123 'maxLength' => 256,

124 ),

elasticbeanstalk-2010-12-01.php (https://gitlab.com/x33n/respond) PHP · 1265 lines

70 'httpMethod' => 'POST',

71 'uri' => '/',

72 'class' => 'Aws\\Common\\Command\\QueryCommand',

73 'responseClass' => 'CheckDNSAvailabilityResultMessage',

86 'CNAMEPrefix' => array(

87 'required' => true,

88 'type' => 'string',

89 'location' => 'aws.query',

90 'minLength' => 4,

96 'httpMethod' => 'POST',

97 'uri' => '/',

98 'class' => 'Aws\\Common\\Command\\QueryCommand',

99 'responseClass' => 'ApplicationDescriptionMessage',

112 'ApplicationName' => array(

113 'required' => true,

114 'type' => 'string',

115 'location' => 'aws.query',

116 'minLength' => 1,

elasticache-2014-09-30.php (https://gitlab.com/x33n/respond) PHP · 1170 lines

74 'httpMethod' => 'POST',

75 'uri' => '/',

76 'class' => 'Aws\\Common\\Command\\QueryCommand',

77 'responseClass' => 'CacheSecurityGroupWrapper',

90 'CacheSecurityGroupName' => array(

91 'required' => true,

92 'type' => 'string',

93 'location' => 'aws.query',

94 ),

95 'EC2SecurityGroupName' => array(

96 'required' => true,

97 'type' => 'string',

98 'location' => 'aws.query',

99 ),

100 'EC2SecurityGroupOwnerId' => array(

101 'required' => true,

102 'type' => 'string',

103 'location' => 'aws.query',

104 ),

ec2-2014-10-01.php (https://gitlab.com/x33n/respond) PHP · 1302 lines

79 'httpMethod' => 'POST',

80 'uri' => '/',

81 'class' => 'Aws\\Common\\Command\\QueryCommand',

82 'responseClass' => 'AcceptVpcPeeringConnectionResult',

95 'DryRun' => array(

96 'type' => 'boolean',

97 'format' => 'boolean-string',

98 'location' => 'aws.query',

99 ),

100 'VpcPeeringConnectionId' => array(

101 'type' => 'string',

102 'location' => 'aws.query',

103 ),

107 'httpMethod' => 'POST',

108 'uri' => '/',

109 'class' => 'Aws\\Common\\Command\\QueryCommand',

110 'responseClass' => 'AllocateAddressResult',

directconnect-2012-10-25.php (https://gitlab.com/x33n/respond) PHP · 1225 lines

70 'httpMethod' => 'POST',

71 'uri' => '/',

72 'class' => 'Aws\\Common\\Command\\JsonCommand',

73 'responseClass' => 'Connection',

90 'bandwidth' => array(

91 'required' => true,

92 'type' => 'string',

93 'location' => 'json',

94 ),

95 'connectionName' => array(

96 'required' => true,

97 'type' => 'string',

98 'location' => 'json',

99 ),

100 'ownerAccount' => array(

101 'required' => true,

102 'type' => 'string',

103 'location' => 'json',

104 ),

datapipeline-2012-10-29.php (https://gitlab.com/x33n/respond) PHP · 1158 lines

55 'httpMethod' => 'POST',

56 'uri' => '/',

57 'class' => 'Aws\\Common\\Command\\JsonCommand',

58 'responseClass' => 'EmptyOutput',

75 'pipelineId' => array(

76 'required' => true,

77 'type' => 'string',

78 'location' => 'json',

79 'minLength' => 1,

89 'id' => array(

90 'required' => true,

91 'type' => 'string',

92 'minLength' => 1,

93 'maxLength' => 256,

94 ),

95 'stringValue' => array(

96 'required' => true,

97 'type' => 'string',

configservice-2014-11-12.php (https://gitlab.com/x33n/respond) PHP · 830 lines

29 'httpMethod' => 'POST',

30 'uri' => '/',

31 'class' => 'Aws\\Common\\Command\\JsonCommand',

32 'responseClass' => 'EmptyOutput',

49 'DeliveryChannelName' => array(

50 'required' => true,

51 'type' => 'string',

52 'location' => 'json',

53 'minLength' => 1,

58 array(

59 'reason' => 'You have specified a delivery channel that does not exist.',

60 'class' => 'NoSuchDeliveryChannelException',

61 ),

62 array(

63 'reason' => 'You cannot delete the delivery channel you specified because the configuration recorder is running.',

64 'class' => 'LastDeliveryChannelDeleteFailedException',

65 ),

66 ),

cognitosync-2014-06-30.php (https://gitlab.com/x33n/respond) PHP · 1095 lines

34 'httpMethod' => 'DELETE',

35 'uri' => '/identitypools/{IdentityPoolId}/identities/{IdentityId}/datasets/{DatasetName}',

36 'class' => 'Guzzle\\Service\\Command\\OperationCommand',

37 'responseClass' => 'DeleteDatasetResponse',

40 'IdentityPoolId' => array(

41 'required' => true,

42 'type' => 'string',

43 'location' => 'uri',

44 'minLength' => 1,

47 'IdentityId' => array(

48 'required' => true,

49 'type' => 'string',

50 'location' => 'uri',

51 'minLength' => 1,

54 'DatasetName' => array(

55 'required' => true,

56 'type' => 'string',

57 'location' => 'uri',

58 'minLength' => 1,

cognitoidentity-2014-06-30.php (https://gitlab.com/x33n/respond) PHP · 1159 lines

35 'httpMethod' => 'POST',

36 'uri' => '/',

37 'class' => 'Aws\\Common\\Command\\JsonCommand',

38 'responseClass' => 'IdentityPool',

55 'IdentityPoolName' => array(

56 'required' => true,

57 'type' => 'string',

58 'location' => 'json',

59 'minLength' => 1,

63 'required' => true,

64 'type' => 'boolean',

65 'format' => 'boolean-string',

66 'location' => 'json',

67 ),

70 'location' => 'json',

71 'additionalProperties' => array(

72 'type' => 'string',

73 'minLength' => 1,

74 'maxLength' => 128,

codedeploy-2014-10-06.php (https://gitlab.com/x33n/respond) PHP · 1183 lines

30 'httpMethod' => 'POST',

31 'uri' => '/',

32 'class' => 'Aws\\Common\\Command\\JsonCommand',

33 'responseClass' => 'BatchGetApplicationsOutput',

53 'items' => array(

54 'name' => 'ApplicationName',

55 'type' => 'string',

56 'minLength' => 1,

57 'maxLength' => 100,

62 array(

63 'reason' => 'The minimum number of required application names was not specified.',

64 'class' => 'ApplicationNameRequiredException',

65 ),

66 array(

67 'reason' => 'The application name was specified in an invalid format.',

68 'class' => 'InvalidApplicationNameException',

69 ),

70 array(

cloudwatchlogs-2014-03-28.php (https://gitlab.com/x33n/respond) PHP · 1100 lines

21 'httpMethod' => 'POST',

22 'uri' => '/',

23 'class' => 'Aws\\Common\\Command\\JsonCommand',

24 'responseClass' => 'EmptyOutput',

41 'logGroupName' => array(

42 'required' => true,

43 'type' => 'string',

44 'location' => 'json',

45 'minLength' => 1,

50 array(

51 'reason' => 'Returned if a parameter of the request is incorrectly specified.',

52 'class' => 'InvalidParameterException',

53 ),

54 array(

55 'reason' => 'Returned if the specified resource already exists.',

56 'class' => 'ResourceAlreadyExistsException',

57 ),

58 array(

cloudwatch-2010-08-01.php (https://gitlab.com/x33n/respond) PHP · 1239 lines

80 'httpMethod' => 'POST',

81 'uri' => '/',

82 'class' => 'Aws\\Common\\Command\\QueryCommand',

83 'responseClass' => 'EmptyOutput',

102 'items' => array(

103 'name' => 'AlarmName',

104 'type' => 'string',

105 'minLength' => 1,

106 'maxLength' => 255,

111 array(

112 'reason' => 'The named resource does not exist.',

113 'class' => 'ResourceNotFoundException',

114 ),

115 ),

118 'httpMethod' => 'POST',

119 'uri' => '/',

120 'class' => 'Aws\\Common\\Command\\QueryCommand',

121 'responseClass' => 'DescribeAlarmHistoryOutput',

cloudtrail-2013-11-01.php (https://gitlab.com/x33n/respond) PHP · 615 lines

71 'httpMethod' => 'POST',

72 'uri' => '/',

73 'class' => 'Aws\\Common\\Command\\JsonCommand',

74 'responseClass' => 'CreateTrailResponse',

91 'Name' => array(

92 'required' => true,

93 'type' => 'string',

94 'location' => 'json',

95 ),

96 'S3BucketName' => array(

97 'required' => true,

98 'type' => 'string',

99 'location' => 'json',

100 ),

101 'S3KeyPrefix' => array(

102 'type' => 'string',

103 'location' => 'json',

104 ),

cloudsearch-2013-01-01.php (https://gitlab.com/x33n/respond) PHP · 1133 lines

69 'httpMethod' => 'POST',

70 'uri' => '/',

71 'class' => 'Aws\\Common\\Command\\QueryCommand',

72 'responseClass' => 'BuildSuggestersResponse',

85 'DomainName' => array(

86 'required' => true,

87 'type' => 'string',

88 'location' => 'aws.query',

89 'minLength' => 3,

94 array(

95 'reason' => 'An error occurred while processing the request.',

96 'class' => 'BaseException',

97 ),

98 array(

99 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',

100 'class' => 'InternalException',

101 ),

102 array(

cloudsearch-2011-02-01.php (https://gitlab.com/x33n/respond) PHP · 1155 lines

54 'httpMethod' => 'POST',

55 'uri' => '/',

56 'class' => 'Aws\\Common\\Command\\QueryCommand',

57 'responseClass' => 'CreateDomainResponse',

70 'DomainName' => array(

71 'required' => true,

72 'type' => 'string',

73 'location' => 'aws.query',

74 'minLength' => 3,

79 array(

80 'reason' => 'An error occurred while processing the request.',

81 'class' => 'BaseException',

82 ),

83 array(

84 'reason' => 'An internal error occurred while processing the request. If this problem persists, report an issue from the Service Health Dashboard.',

85 'class' => 'InternalException',

86 ),

87 array(

cloudfront-2014-10-21.php (https://gitlab.com/x33n/respond) PHP · 1065 lines

70 'httpMethod' => 'POST',

71 'uri' => '/2014-10-21/origin-access-identity/cloudfront',

72 'class' => 'Guzzle\\Service\\Command\\OperationCommand',

73 'responseClass' => 'CreateCloudFrontOriginAccessIdentityResult',

84 'CallerReference' => array(

85 'required' => true,

86 'type' => 'string',

87 'location' => 'xml',

88 ),

89 'Comment' => array(

90 'required' => true,

91 'type' => 'string',

92 'location' => 'xml',

93 ),

100 array(

101 'reason' => 'If the CallerReference is a value you already sent in a previous request to create an identity but the content of the CloudFrontOriginAccessIdentityConfig is different from the original request, CloudFront returns a CloudFrontOriginAccessIdentityAlreadyExists error.',

102 'class' => 'CloudFrontOriginAccessIdentityAlreadyExistsException',

103 ),

104 array(

cloudformation-2010-05-15.php (https://gitlab.com/x33n/respond) PHP · 1290 lines

79 'httpMethod' => 'POST',

80 'uri' => '/',

81 'class' => 'Aws\\Common\\Command\\QueryCommand',

82 'responseClass' => 'EmptyOutput',

95 'StackName' => array(

96 'required' => true,

97 'type' => 'string',

98 'location' => 'aws.query',

99 ),

103 'httpMethod' => 'POST',

104 'uri' => '/',

105 'class' => 'Aws\\Common\\Command\\QueryCommand',

106 'responseClass' => 'CreateStackOutput',

119 'StackName' => array(

120 'required' => true,

121 'type' => 'string',

122 'location' => 'aws.query',

123 ),

autoscaling-2011-01-01.php (https://gitlab.com/x33n/respond) PHP · 1279 lines

79 'httpMethod' => 'POST',

80 'uri' => '/',

81 'class' => 'Aws\\Common\\Command\\QueryCommand',

82 'responseClass' => 'EmptyOutput',

98 'sentAs' => 'InstanceIds.member',

99 'items' => array(

100 'name' => 'XmlStringMaxLen16',

101 'type' => 'string',

106 'AutoScalingGroupName' => array(

107 'required' => true,

108 'type' => 'string',

109 'location' => 'aws.query',

110 'minLength' => 1,

116 'httpMethod' => 'POST',

117 'uri' => '/',

118 'class' => 'Aws\\Common\\Command\\QueryCommand',

119 'responseClass' => 'EmptyOutput',

Page.php (https://gitlab.com/x33n/respond) PHP · 788 lines

2

3 // Page DAO

4 class Page{

5

6 // adds a page

479

480 } catch(PDOException $e){

481 die('[Page::GetPages]'.'[next='.$next.'pageSize='.$pageSize.']---PDO Error: '.$e->getMessage().'trace='.$e->getTraceAsString());

482 }

483

532

533 } catch(PDOException $e){

534 die('[Page::GetPages]'.'[next='.$next.'pageSize='.$pageSize.']---PDO Error: '.$e->getMessage().'trace='.$e->getTraceAsString());

535 }

536

ImageHelper.php (https://gitlab.com/x33n/ImpressPages) PHP · 538 lines

9

10

11 class ImageHelper

12 {

13

24

25 /**

26 * @param string $imageFile

27 * @param int $widthDest required width

28 * @param int $heightDest required height

29 * @param string $destDir typicaly BASE_DIR.IMAGE_URL or BASE_DIR.TMP_IMAGE_URL

30 * @param string $type

36 * @param bool $forced if true, resizes image even if she fits to specified size (is smaller than required)

37 * @param int $quality from 0 (biggest compression) to 100 (best quality)

38 * @return string file name of resized image in destDir folder

39 * @throws \Exception

40 * @throws \Ip\Exception

Zone.php (https://gitlab.com/blueprintmrk/dyn-php) PHP · 676 lines

9 use Dyn\TrafficManagement\Service\DynamicDNS;

10

11 class Zone

12 {

13 /**

14 * The zone name, e.g. example.com

15 *

16 * @var string

17 */

18 protected $name;

21 * The zone type, either 'Primary' or 'Secondary'

22 *

23 * @var string

24 */

25 protected $type;

Reports.php (https://gitlab.com/blueprintmrk/dyn-php) PHP · 710 lines

6 use DateTime;

7

8 class Reports extends AbstractResource

9 {

10 /**

11 * Build a params array from optional report values

12 *

13 * @param null|DateTime|string $startDate Optional start date

14 * @param null|DateTime|string $endDate Optional end date

15 * @param null|string $sender Optional sender email address

16 * @param null|array $xHeaders Optional array of X-Header values

17 * @return array

68 * for the specified date range, optionally filtered by sender.

69 *

70 * @param null|DateTime|string $startDate Optional start date

71 * @param null|DateTime|string $endDate Optional end date

comment-template.php (https://gitlab.com/Blueprint-Marketing/WordPress-1) PHP · 1475 lines

339 * @since 2.7.0

340 *

341 * @param string|array $class Optional. One or more classes to add to the class list. Default empty.

342 * @param int $comment_id Optional. Comment ID. Default current comment.

343 * @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default current post.

347 // Separates classes with a single space, collates classes for comment DIV

348 $class = 'class="' . join( ' ', get_comment_class( $class, $comment_id, $post_id ) ) . '"';

349 if ( $echo)

350 echo $class;

358 * @since 2.7.0

359 *

360 * @param string|array $class Optional. One or more classes to add to the class list. Default empty.

361 * @param int $comment_id Optional. Comment ID. Default current comment.

362 * @param int|WP_Post $post_id Optional. Post ID or WP_Post object. Default current post.

432 * @param int|WP_Post $post_id The post ID or WP_Post object.

433 */

434 return apply_filters( 'comment_class', $classes, $class, $comment_id, $post_id );

435 }

436

class-ai1ec-view-helper.php (https://gitlab.com/Blueprint-Marketing/interoccupy.net) PHP · 676 lines

1 <?php

2 //

3 // class-ai1ec-view-helper.php

4 // all-in-one-event-calendar

5 //

8

9 /**

10 * Ai1ec_View_Helper class

11 *

12 * @package Helpers

13 * @author time.ly

14 **/

15 class Ai1ec_View_Helper {

16 /**

17 * _instance class variable

ext_xmlwriter.php (https://gitlab.com/Blueprint-Marketing/hhvm) PHP · 849 lines

24 /* Sets the string which will be used to indent each element/attribute of the

25 * resulting xml.

26 * @param string $indentstring - The indentation string.

27 * @return bool - Returns TRUE on success or FALSE on failure.

28 */

29 <<__Native>>

30 function setIndentString(string $indentstring): bool;

31

32 /* Toggles indentation on or off.

223

224 /* Writes a raw xml text.

225 * @param string $content - The text string to write.

226 * @return bool - Returns TRUE on success or FALSE on failure.

227 */

ext_xml.php (https://gitlab.com/Blueprint-Marketing/hhvm) PHP · 425 lines

228 * will be if no value is returned), the XML parser will stop parsing and

229 * xml_get_error_code() will return XML_ERROR_EXTERNAL_ENTITY_HANDLING.

230 * handler ( resource $parser , string $user_data , string $prefix , string

231 * $uri ) parser The first parameter, parser, is a reference to the XML parser

232 * calling the handler.

267 * function that must exist when xml_parse() is called for parser. The

268 * function named by handler must accept six parameters: handler ( resource

269 * $parser , string $entity_name , string $base , string $system_id , string

270 * $public_id , string $notation_name ) parser The first parameter, parser, is

305 * function that must exist when xml_parse() is called for parser. The

306 * function named by handler must accept five parameters: handler ( resource

307 * $parser , string $notation_name , string $base , string $system_id , string

308 * $public_id ) parser The first parameter, parser, is a reference to the XML

309 * parser calling the handler.

387 * @param int $code - An error code from xml_get_error_code().

388 *

389 * @return string - Returns a string with a textual description of the error

390 * code, or FALSE if no description was found.

391 *

ext_memcached.php (https://gitlab.com/Blueprint-Marketing/hhvm) PHP · 802 lines

130 * @param string $key -

131 * @param string $value - The string to append.

132 *

133 * @return bool - The Memcached::getResultCode will return

145 * @param string $key -

146 * @param string $value - The string to append.

147 *

148 * @return bool - The Memcached::getResultCode will return

513 * @param string $key - The key of the item to prepend the data to.

514 * @param string $value - The string to prepend.

515 *

516 * @return bool - The Memcached::getResultCode will return

528 * @param string $key - The key of the item to prepend the data to.

529 * @param string $value - The string to prepend.

530 *

531 * @return bool - The Memcached::getResultCode will return

ext_icu_uchar.php (https://gitlab.com/Blueprint-Marketing/hhvm) PHP · 619 lines

7 * acts as an identity validator function

8 *

9 * @param (int|string) $cp - Codepoint as an integer or UTF-8 string

10 * @return string - UTF-8 encoded codepoint

17 * When passed an integer, acts as an identity validator

18 *

19 * @param (int|string) $cp - Codepoint as an integer or UTf-8 string

20 * @return int - Unicode character number

21 */

26 * Whether or not the specified codepoint has the noted boolean property.

27 *

28 * @param (int|string) $cp - Codepoint as an integer or UTf-8 string

29 * @param int $prop - One of IntlChar::PROPERTY_* constants

30 * @return bool - Whether or not the codepoint has the property

36 * The codepoint specific integer property value.

37 *

38 * @param (int|string) $cp - Codepoint as an integer or UTf-8 string

39 * @param int $prop - One of IntlChar::PROPERTY_* constants

40 * @return int - Value of the property for this codepoint

ext_icu_date_fmt.php (https://gitlab.com/Blueprint-Marketing/hhvm) PHP · 607 lines

140 * Get the pattern used for the IntlDateFormatter

141 *

142 * @return string - The pattern string being used to format/parse.

143 */

144 <<__Native>>

516 *

517 * @param intldateformatter $fmt - The formatter resource

518 * @param string $value - string to convert to a time

519 * @param int $position - Position at which to start the parsing in

520 * $value (zero-based). If no error occurs before $value is consumed,

570 *

571 * @param intldateformatter $fmt - The formatter resource.

572 * @param string $pattern - New pattern string to use. Possible patterns

573 * are documented at .

574 *

585 *

586 * @param intldateformatter $fmt - The formatter resource.

587 * @param string $zone - The time zone ID string of the time zone to use.

588 * If NULL or the empty string, the default time zone for the runtime is

intersect_huge.php (https://gitlab.com/Blueprint-Marketing/hhvm) PHP · 792 lines

10 */

11

12 abstract class TType {

13 const STOP = 0;

14 const VOID = 1;

46 public Vector<string> $ivar13;

47 public Map<string, string> $ivar14;

48 public int $ivar15;

49 public bool $ivar16;

50 public Map<string, string> $ivar17;

51 public string $ivar18;

78 public string $ivar45;

79 public Map<string, string> $ivar46;

80 public Map<string, string> $ivar47;

query.php (https://gitlab.com/webkod3r/tripolis) PHP · 1868 lines

13

14 /**

15 * Retrieve variable in the WP_Query class.

16 *

17 * @since 1.5.0

20 * @global WP_Query $wp_query Global WP_Query instance.

21 *

22 * @param string $var The variable key to retrieve.

23 * @param mixed $default Optional. Value to return if the query variable is not set. Default empty.

24 * @return mixed Contents of the query variable.

69 * @global WP_Query $wp_query Global WP_Query instance.

70 *

71 * @param string $var Query variable key.

72 * @param mixed $value Query variable value.

73 */

meta.php (https://gitlab.com/webkod3r/tripolis) PHP · 987 lines

89 *

90 * @param int $object_id Object ID.

91 * @param string $meta_key Meta key.

92 * @param mixed $meta_value Meta value.

93 */

275 * @param int $meta_id ID of updated metadata entry.

276 * @param int $object_id Object ID.

277 * @param string $meta_key Meta key.

278 * @param mixed $meta_value Meta value.

279 */

299 * Pass `null, `false`, or an empty string to skip this check. (For backward compatibility,

300 * it is not possible to pass an empty string to delete those entries with an empty string

301 * for a value.)

302 * @param bool $delete_all Optional, default is false. If true, delete matching metadata entries for all objects,

523 * @param string $meta_type Type of object metadata is for (e.g., comment, post, or user)

524 * @param int $object_id ID of the object metadata is for

525 * @param string $meta_key Metadata key.

526 * @return bool True of the key is set, false if not.

527 */

comment-template.php (https://gitlab.com/webkod3r/tripolis) PHP · 1517 lines

399 * @since 4.4.0 Added the ability for `$comment` to also accept a WP_Comment object.

400 *

401 * @param string|array $class Optional. One or more classes to add to the class list.

402 * Default empty.

403 * @param int|WP_Comment $comment Comment ID or WP_Comment object. Default current comment.

410 // Separates classes with a single space, collates classes for comment DIV

411 $class = 'class="' . join( ' ', get_comment_class( $class, $comment, $post_id ) ) . '"';

412 if ( $echo)

413 echo $class;

426 * @global int $comment_thread_alt

427 *

428 * @param string|array $class Optional. One or more classes to add to the class list. Default empty.

429 * @param int|WP_Comment $comment_id Comment ID or WP_Comment object. Default current comment.

430 * @param int|WP_Post $post_id Post ID or WP_Post object. Default current post.

489 $class = preg_split('#\s+#', $class);

490 $classes = array_merge($classes, $class);

491 }

492

header.php (https://gitlab.com/webkod3r/tripolis) PHP · 544 lines

4 /**

5 * Avada Header Template Function

6 * @param string $slider_position Show header below or above slider

7 * @return void

8 */

19

20 if ( ( ! $theme_option_slider_position || ( $theme_option_slider_position == $slider_position && $page_option_slider_position != strtolower( $reverse_position ) ) || ( $theme_option_slider_position != $slider_position && $page_option_slider_position == strtolower( $slider_position ) ) ) && ! is_page_template( 'blank.php' ) && fusion_get_page_option( 'display_header', $page_id ) != 'no' && Avada()->settings->get( 'header_position' ) == 'Top' ) {

21 $header_wrapper_class = 'fusion-header-wrapper';

22 $header_wrapper_class .= ( Avada()->settings->get( 'header_shadow' ) ) ? ' fusion-header-shadow' : '';

23 $header_wrapper_class = 'class="' . $header_wrapper_class . '"';

24

25 /**

38 }

39 ?>

40 <div <?php echo $header_wrapper_class; ?>>

41 <div class="<?php echo sprintf( 'fusion-header-%s fusion-logo-%s fusion-sticky-menu-%s fusion-sticky-logo-%s fusion-mobile-logo-%s fusion-mobile-menu-design-%s%s %s', Avada()->settings->get( 'header_layout' ), strtolower( Avada()->settings->get( 'logo_alignment' ) ), has_nav_menu( 'sticky_navigation' ), $sticky_header_logo, $mobile_logo, strtolower( Avada()->settings->get( 'mobile_menu_design' ) ), $sticky_header_type2_layout, $menu_text_align ); ?>">

class-avada-layout.php (https://gitlab.com/webkod3r/tripolis) PHP · 511 lines

255

256 if ( is_archive() || is_home() ) {

257 add_filter( 'fusion_content_class', array( $this, 'full_width_content_class' ) );

258 }

259 } elseif ( 'left' == $sidebars['position'] ) {

388 * @return array

389 */

390 public function sidebar_class( $classes ) {

391 $classes[] = 'sidebar fusion-widget-area fusion-content-widget-area';

398 * @return array

399 */

400 public function side_nav_right_class( $classes ) {

401 if( is_page_template( 'side-navigation.php' ) ) {

402 $classes[] = 'side-nav-right';

410 * @return array

411 */

412 public function side_nav_left_class( $classes ) {

413 if( is_page_template( 'side-navigation.php' ) ) {

414 $classes[] = 'side-nav-left';

smarty_internal_data.php (https://gitlab.com/adamlwalker/generatedata) PHP · 551 lines

3 * Smarty Internal Plugin Data

4 *

5 * This file contains the basic classes and methodes for template and variable creation

6 *

7 * @package Smarty

11

12 /**

13 * Base class with template and variable methodes

14 *

15 * @package Smarty

16 * @subpackage Template

17 */

18 class Smarty_Internal_Data {

19

20 /**

InputDefinitionTest.php (https://gitlab.com/Pasantias/pasantiasASLG) PHP · 437 lines

16 use Symfony\Component\Console\Input\InputOption;

17

18 class InputDefinitionTest extends \PHPUnit_Framework_TestCase

19 {

20 protected static $fixtures;

22 protected $foo, $bar, $foo1, $foo2;

23

24 public static function setUpBeforeClass()

25 {

26 self::$fixtures = __DIR__.'/../Fixtures/';

400 ));

401

402 $this->assertStringEqualsFile(self::$fixtures.'/definition_astext.txt', $definition->asText(), '->asText() returns a textual representation of the InputDefinition');

403 }

404

TableTest.php (https://gitlab.com/Pasantias/pasantiasASLG) PHP · 585 lines

18 use Symfony\Component\Console\Output\StreamOutput;

19

20 class TableTest extends \PHPUnit_Framework_TestCase

21 {

22 protected $stream;

484

485 /**

486 * @requires extension mbstring

487 */

488 public function testRenderMultiByte()

jslint.js (https://bitbucket.org/shuangxinyu/emacspack.git) JavaScript · 524 lines

2 // www.JSLint.com

3 // Rhino Edition

4 "use strict";var JSLINT=(function(){var adsafe_id,adsafe_may,adsafe_went,anonname,approved,atrule={media:true,'font-face':true,page:true},bang={'<':true,'<=':true,'==':true,'===':true,'!==':true,'!=':true,'>':true,'>=':true,'+':true,'-':true,'*':true,'/':true,'%':true},banned={'arguments':true,callee:true,caller:true,constructor:true,'eval':true,prototype:true,unwatch:true,valueOf:true,watch:true},boolOptions={adsafe:true,bitwise:true,browser:true,cap:true,css:true,debug:true,eqeqeq:true,evil:true,forin:true,fragment:true,immed:true,laxbreak:true,newcap:true,nomen:true,on:true,onevar:true,passfail:true,plusplus:true,regexp:true,rhino:true,undef:true,safe:true,sidebar:true,strict:true,sub:true,white:true,widget:true},browser={addEventListener:false,alert:false,blur:false,clearInterval:false,clearTimeout:false,close:false,closed:false,confirm:false,console:false,Debug:false,defaultStatus:false,document:false,event:false,focus:false,frames:false,getComputedStyle:false,history:false,Image:false,length:false,location:false,moveBy:false,moveTo:false,name:false,navigator:false,onbeforeunload:true,onblur:true,onerror:true,onfocus:true,onload:true,onresize:true,onunload:true,open:false,opener:false,opera:false,Option:false,parent:false,print:false,prompt:false,removeEventListener:false,resizeBy:false,resizeTo:false,screen:false,scroll:false,scrollBy:false,scrollTo:false,setInterval:false,setTimeout:false,status:false,top:false,XMLHttpRequest:false},cssAttributeData,cssAny,cssColorData={"aliceblue":true,"antiquewhite":true,"aqua":true,"aquamarine":true,"azure":true,"beige":true,"bisque":true,"black":true,"blanchedalmond":true,"blue":true,"blueviolet":true,"brown":true,"burlywood":true,"cadetblue":true,"chartreuse":true,"chocolate":true,"coral":true,"cornflowerblue":true,"cornsilk":true,"crimson":true,"cyan":true,"darkblue":true,"darkcyan":true,"darkgoldenrod":true,"darkgray":true,"darkgreen":true,"darkkhaki":true,"darkmagenta":true,"darkolivegreen":true,"darkorange":true,"darkorchid":true,"darkred":true,"darksalmon":true,"darkseagreen":true,"darkslateblue":true,"darkslategray":true,"darkturquoise":true,"darkviolet":true,"deeppink":true,"deepskyblue":true,"dimgray":true,"dodgerblue":true,"firebrick":true,"floralwhite":true,"forestgreen":true,"fuchsia":true,"gainsboro":true,"ghostwhite":true,"gold":true,"goldenrod":true,"gray":true,"green":true,"greenyellow":true,"honeydew":true,"hotpink":true,"indianred":true,"indigo":true,"ivory":true,"khaki":true,"lavender":true,"lavenderblush":true,"lawngreen":true,"lemonchiffon":true,"lightblue":true,"lightcoral":true,"lightcyan":true,"lightgoldenrodyellow":true,"lightgreen":true,"lightpink":true,"lightsalmon":true,"lightseagreen":true,"lightskyblue":true,"lightslategray":true,"lightsteelblue":true,"lightyellow":true,"lime":true,"limegreen":true,"linen":true,"magenta":true,"maroon":true,"mediumaquamarine":true,"mediumblue":true,"mediumorchid":true,"mediumpurple":true,"mediumseagreen":true,"mediumslateblue":true,"mediumspringgreen":true,"mediumturquoise":true,"mediumvioletred":true,"midnightblue":true,"mintcream":true,"mistyrose":true,"moccasin":true,"navajowhite":true,"navy":true,"oldlace":true,"olive":true,"olivedrab":true,"orange":true,"orangered":true,"orchid":true,"palegoldenrod":true,"palegreen":true,"paleturquoise":true,"palevioletred":true,"papayawhip":true,"peachpuff":true,"peru":true,"pink":true,"plum":true,"powderblue":true,"purple":true,"red":true,"rosybrown":true,"royalblue":true,"saddlebrown":true,"salmon":true,"sandybrown":true,"seagreen":true,"seashell":true,"sienna":true,"silver":true,"skyblue":true,"slateblue":true,"slategray":true,"snow":true,"springgreen":true,"steelblue":true,"tan":true,"teal":true,"thistle":true,"tomato":true,"turquoise":true,"violet":true,"wheat":true,"white":true,"whitesmoke":true,"yellow":true,"yellowgreen":true},cssBorderStyle,cssBreak,cssLengthData={'%':true,'cm':true,'em':true,'ex':true,'in':true,'mm':true,'pc':true,'pt':true,'px':true},cssOverflow,escapes={'\b':'\\b','\t':'\\t','\n':'\\n','\f':'\\f','\r':'\\r','"':'\\"','/':'\\/','\\':'\\\\'},funct,functionicity=['closure','exception','global','label','outer','unused','var'],functions,global,htmltag={a:{},abbr:{},acronym:{},address:{},applet:{},area:{empty:true,parent:' map '},b:{},base:{empty:true,parent:' head '},bdo:{},big:{},blockquote:{},body:{parent:' html noframes '},br:{empty:true},button:{},canvas:{parent:' body p div th td '},caption:{parent:' table '},center:{},cite:{},code:{},col:{empty:true,parent:' table colgroup '},colgroup:{parent:' table '},dd:{parent:' dl '},del:{},dfn:{},dir:{},div:{},dl:{},dt:{parent:' dl '},em:{},embed:{},fieldset:{},font:{},form:{},frame:{empty:true,parent:' frameset '},frameset:{parent:' html frameset '},h1:{},h2:{},h3:{},h4:{},h5:{},h6:{},head:{parent:' html '},html:{parent:'*'},hr:{empty:true},i:{},iframe:{},img:{empty:true},input:{empty:true},ins:{},kbd:{},label:{},legend:{parent:' fieldset '},li:{parent:' dir menu ol ul '},link:{empty:true,parent:' head '},map:{},menu:{},meta:{empty:true,parent:' head noframes noscript '},noframes:{parent:' html body '},noscript:{parent:' body head noframes '},object:{},ol:{},optgroup:{parent:' select '},option:{parent:' optgroup select '},p:{},param:{empty:true,parent:' applet object '},pre:{},q:{},samp:{},script:{empty:true,parent:' body div frame head iframe p pre span '},select:{},small:{},span:{},strong:{},style:{parent:' head ',empty:true},sub:{},sup:{},table:{},tbody:{parent:' table '},td:{parent:' tr '},textarea:{},tfoot:{parent:' table '},th:{parent:' tr '},thead:{parent:' table '},title:{parent:' head '},tr:{parent:' table tbody thead tfoot '},tt:{},u:{},ul:{},'var':{}},ids,implied,inblock,indent,jsonmode,lines,lookahead,member,membersOnly,nexttoken,noreach,option,predefined,prereg,prevtoken,rhino={defineClass:false,deserialize:false,gc:false,help:false,load:false,loadClass:false,print:false,quit:false,readFile:false,readUrl:false,runCommand:false,seal:false,serialize:false,spawn:false,sync:false,toint32:false,version:false},scope,sidebar={System:false},src,stack,standard={Array:false,Boolean:false,Date:false,decodeURI:false,decodeURIComponent:false,encodeURI:false,encodeURIComponent:false,Error:false,'eval':false,EvalError:false,Function:false,hasOwnProperty:false,isFinite:false,isNaN:false,JSON:false,Math:false,Number:false,Object:false,parseInt:false,parseFloat:false,RangeError:false,ReferenceError:false,RegExp:false,String:false,SyntaxError:false,TypeError:false,URIError:false},standard_member={E:true,LN2:true,LN10:true,LOG2E:true,LOG10E:true,PI:true,SQRT1_2:true,SQRT2:true,MAX_VALUE:true,MIN_VALUE:true,NEGATIVE_INFINITY:true,POSITIVE_INFINITY:true},strict_mode,syntax={},tab,token,urls,warnings,widget={alert:true,animator:true,appleScript:true,beep:true,bytesToUIString:true,Canvas:true,chooseColor:true,chooseFile:true,chooseFolder:true,closeWidget:true,COM:true,convertPathToHFS:true,convertPathToPlatform:true,CustomAnimation:true,escape:true,FadeAnimation:true,filesystem:true,Flash:true,focusWidget:true,form:true,FormField:true,Frame:true,HotKey:true,Image:true,include:true,isApplicationRunning:true,iTunes:true,konfabulatorVersion:true,log:true,md5:true,MenuItem:true,MoveAnimation:true,openURL:true,play:true,Point:true,popupMenu:true,preferenceGroups:true,preferences:true,print:true,prompt:true,random:true,Rectangle:true,reloadWidget:true,ResizeAnimation:true,resolvePath:true,resumeUpdates:true,RotateAnimation:true,runCommand:true,runCommandInBg:true,saveAs:true,savePreferences:true,screen:true,ScrollBar:true,showWidgetPreferences:true,sleep:true,speak:true,Style:true,suppressUpdates:true,system:true,tellWidget:true,Text:true,TextArea:true,Timer:true,unescape:true,updateNow:true,URL:true,Web:true,widget:true,Window:true,XMLDOM:true,XMLHttpRequest:true,yahooCheckLogin:true,yahooLogin:true,yahooLogout:true},xmode,xquote,ax=/@cc|<\/?|script|\]*s\]|<\s*!|&lt/i,cx=/[\u0000-\u001f\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/,tx=/^\s*([(){}\[.,:;'"~\?\]#@]|==?=?|\/(\*(jslint|members?|global)?|=|\/)?|\*[\/=]?|\+[+=]?|-[\-=]?|%=?|&[&=]?|\|[|=]?|>>?>?=?|<([\/=!]|\!(\[|--)?|<=?)?|\^=?|\!=?=?|[a-zA-Z_$][a-zA-Z0-9_$]*|[0-9]+([xX][0-9a-fA-F]+|\.[0-9]*)?([eE][+\-]?[0-9]+)?)/,hx=/^\s*(['"=>\/&#]|<(?:\/|\!(?:--)?)?|[a-zA-Z][a-zA-Z0-9_\-]*|[0-9]+|--|.)/,nx=/[\u0000-\u001f&<"\/\\\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/,nxg=/[\u0000-\u001f&<"\/\\\u007f-\u009f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,ox=/[>&]|<[\/!]?|--/,lx=/\*\/|\/\*/,ix=/^([a-zA-Z_$][a-zA-Z0-9_$]*)$/,jx=/^(?:javascript|jscript|ecmascript|vbscript|mocha|livescript)\s*:/i,ux=/&|\+|\u00AD|\.\.|\/\*|%[^;]|base64|url|expression|data|mailto/i,sx=/^\s*([{:#%.=,>+\[\]@()"';]|\*=?|\$=|\|=|\^=|~=|[a-zA-Z_][a-zA-Z0-9_\-]*|[0-9]+|<\/|\/\*)/,ssx=/^\s*([@#!"'};:\-%.=,+\[\]()*_]|[a-zA-Z][a-zA-Z0-9._\-]*|\/\*?|\d+(?:\.\d+)?|<\/)/,qx=/[^a-zA-Z0-9-_\/ ]/,dx=/[\[\]\/\\"'*<>.&:(){}+=#]/,rx={outer:hx,html:hx,style:sx,styleproperty:ssx};function F(){}

5 if(typeof Object.create!=='function'){Object.create=function(o){F.prototype=o;return new F();};}

6 function is_own(object,name){return Object.prototype.hasOwnProperty.call(object,name);}

7 function combine(t,o){var n;for(n in o){if(is_own(o,n)){t[n]=o[n];}}}

8 String.prototype.entityify=function(){return this.replace(/&/g,'&amp;').replace(/</g,'&lt;').replace(/>/g,'&gt;');};String.prototype.isAlpha=function(){return(this>='a'&&this<='z\uffff')||(this>='A'&&this<='Z\uffff');};String.prototype.isDigit=function(){return(this>='0'&&this<='9');};String.prototype.supplant=function(o){return this.replace(/\{([^{}]*)\}/g,function(a,b){var r=o[b];return typeof r==='string'||typeof r==='number'?r:a;});};String.prototype.name=function(){if(ix.test(this)){return this;}

9 if(nx.test(this)){return'"'+this.replace(nxg,function(a){var c=escapes[a];if(c){return c;}

10 return'\\u'+('0000'+a.charCodeAt().toString(16)).slice(-4);})+'"';}

42 c=s.charAt(j);if(c===x){character+=1;s=s.substr(j+1);return it('(string)',r,x);}

43 if(c<' '){if(c==='\n'||c==='\r'){break;}

44 warningAt("Control character in string: {a}.",line,character+j,s.slice(0,j));}else if(c===xquote){warningAt("Bad HTML string",line,character+j);}else if(c==='<'){if(option.safe&&xmode==='html'){warningAt("ADsafe string violation.",line,character+j);}else if(s.charAt(j+1)==='/'&&(xmode||option.safe)){warningAt("Expected '<\\/' and instead saw '</'.",line,character);}else if(s.charAt(j+1)==='!'&&(xmode||option.safe)){warningAt("Unexpected '<!' in a string.",line,character);}}else if(c==='\\'){if(xmode==='html'){if(option.safe){warningAt("ADsafe string violation.",line,character+j);}}else if(xmode==='styleproperty'){j+=1;character+=1;c=s.charAt(j);if(c!==x){warningAt("Escapement in style string.",line,character+j);}}else{j+=1;character+=1;c=s.charAt(j);switch(c){case xquote:warningAt("Bad HTML string",line,character+j);break;case'\\':case'\'':case'"':case'/':break;case'b':c='\b';break;case'f':c='\f';break;case'n':c='\n';break;case'r':c='\r';break;case't':c='\t';break;case'u':esc(4);break;case'v':c='\v';break;case'x':if(jsonmode){warningAt("Avoid \\x-.",line,character);}

45 esc(2);break;default:warningAt("Bad escapement.",line,character);}}}

46 r+=c;character+=1;j+=1;}}

generator.h (https://bitbucket.org/ultra_iter/qt-vtl.git) C Header · 221 lines

116 {

117 public:

118 inline Function(const QString &returnType, const QString &name)

119 : rtype(returnType), fname(name), iline(false), cnst(false) {}

120 inline Function() : iline(false), cnst(false) {}

140

141 private:

142 QString signature(const QString &funcNamePrefix = QString()) const;

143

144 QString rtype;

164 { sections[access].functions.append(func); }

165

166 void addConstructor(Access access, const QString &body, const QString &args = QString());

167 inline void addConstructor(Access access, const CodeBlock &body, const QString &args = QString())

184 void printDeclaration(const Class *klass, CodeBlock &block) const;

185 QString definition(const Class *klass) const;

186 };

187

rngalt.el (https://bitbucket.org/shuangxinyu/emacspack.git) Lisp · 829 lines

468 (and (rng-adjust-state-for-attribute lt-pos

469 name-start)

470 (if (string= (buffer-substring-no-properties name-start

471 (or colon name-end))

472 "xmlns")

488 (rng-strings-to-completion-alist

489 (rng-match-possible-value-strings))

490 "Value: "

491 nil

582 (let* ((matches (match-string 1 msg))

583 (lst (split-string (substring matches 1 (- (length matches) 1)) "\", \"")))

584 ;;(message "matches=%s" matches);(sit-for 2)

585 ;;(message "lst=%s" lst);(sit-for 1)

627 "*** Fictive XHTML/XML Validation Header: ... "

628 (save-match-data

629 (if (string-match "\\(<[^[:space:]>]+\\)[^>]*>[^<>]*\\'"

630 validation-header)

631 (concat (match-string 1 validation-header) ">")

bigfile-stringerr-64000.html (https://bitbucket.org/shuangxinyu/emacspack.git) HTML · 1851 lines

53 imagine myself would still be there in nXhtml. For

54 example Hadron told me once that he got the error

55 <i>(wrong-type-argument stringp nil)</i>. Eh, I replied, are

56 you sure. Yes he was. I tried the same file as him. No

57 error.

142 <p>

143 Unfortunately that still breaks XHTML validation since

144 &lt; is not allowed in strings. In the long run I

145 believe the XML validator has to be broken up so that it

146 avoids parsing the string here (in PHP files).

156 <p>

157 However on the screen you will still see the original

158 string and when writing to file the correct characters

159 will be used.

160 </p>

qt_help_pl.ts (https://bitbucket.org/ultra_iter/qt-vtl.git) TypeScript · 320 lines

99 <message>

100 <source>Cannot open database &apos;%1&apos; &apos;%2&apos;: %3</source>

101 <extracomment>The placeholders are: %1 - The name of the database which cannot be opened %2 - The unique id for the connection %3 - The actual error string</extracomment>

102 <translation>Nie można otworzyć bazy danych &apos;%1&apos; &apos;%2&apos;: %3</translation>

103 </message>

javascript-mozlab.el (https://bitbucket.org/shuangxinyu/emacspack.git) Lisp · 713 lines

46 ;;

47 ;; This mode assumes that block comments are not nested inside block

48 ;; comments and that strings do not contain line breaks.

49 ;;

50 ;; Exported names start with "javascript-" whereas private names start

105 (c-populate-syntax-table table)

106

107 ;; The syntax class of underscore should really be `symbol' ("_")

108 ;; but that makes matching of tokens much more complex as e.g.

109 ;; "\\<xyz\\>" matches part of e.g. "_xyz" and "xyz_abc". Defines

124 (cond ((nth 3 parse)

125 (re-search-forward

126 (concat "\\([^\\]\\|^\\)" (string (nth 3 parse)))

127 (save-excursion (end-of-line) (point)) t))

128 ((nth 7 parse)

qtpropertymanager.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 6451 lines

316 }

317

318 template <class ValueChangeParameter, class PropertyManagerPrivate, class PropertyManager, class Value, class PrivateData>

319 static void setBorderValue(PropertyManager *manager, PropertyManagerPrivate *managerPrivate,

320 void (PropertyManager::*propertyChangedSignal)(QtProperty *),

354 }

355

356 template <class ValueChangeParameter, class PropertyManagerPrivate, class PropertyManager, class Value, class PrivateData>

357 static void setMinimumValue(PropertyManager *manager, PropertyManagerPrivate *managerPrivate,

358 void (PropertyManager::*propertyChangedSignal)(QtProperty *),

368 }

369

370 template <class ValueChangeParameter, class PropertyManagerPrivate, class PropertyManager, class Value, class PrivateData>

371 static void setMaximumValue(PropertyManager *manager, PropertyManagerPrivate *managerPrivate,

372 void (PropertyManager::*propertyChangedSignal)(QtProperty *),

Constants.java (https://bitbucket.org/amdatu/amdatu-labs.git) Java · 19 lines

10 * Factory PID for the InMem blobStore provider factory.

11 */

12 String INMEM_FACTORY_PID = "org.amdatu.blobstore.inmem.factory";

13

14 /**

15 * Provider type for the JClouds blobStore provider.

16 */

17 String INMEM_PROVIDER_TYPE = "JClouds";

18 }

19

qtgradientviewdialog.cpp (https://bitbucket.org/ultra_iter/qt-vtl.git) C++ · 89 lines

51 m_ui.setupUi(this);

52 m_ui.buttonBox->button(QDialogButtonBox::Ok)->setEnabled(false);

53 connect(m_ui.gradientView, SIGNAL(currentGradientChanged(QString)),

54 this, SLOT(slotGradientSelected(QString)));

55 connect(m_ui.gradientView, SIGNAL(gradientActivated(QString)),

56 this, SLOT(slotGradientActivated(QString)));

62 }

63

64 QGradient QtGradientViewDialog::getGradient(bool *ok, QtGradientManager *manager, QWidget *parent, const QString &caption)

65 {

66 QtGradientViewDialog dlg(parent);

76 }

77

78 void QtGradientViewDialog::slotGradientSelected(const QString &id)

79 {

80 m_ui.buttonBox->button(QDialogButtonBox::Ok)->setEnabled(!id.isEmpty());