onPHP

Assert Class Reference

 

Assert Class Reference
[Widely used base classes and interfaces]

Widely used assertions. More...

Inheritance diagram for Assert:

Inheritance graph
[legend]
List of all members.

Static Public Member Functions

static isTrue ($boolean, $message=null)
static isFalse ($boolean, $message=null)
static isArray (&$variable, $message=null)
static isInteger ($variable, $message=null)
static isString (&$variable, $message=null)
static isBoolean (&$variable, $message=null)
static isTernaryBase (&$variable, $message=null)
static brothers (&$first, &$second, $message=null)

Static Private Member Functions

static fail ($message=null)

Detailed Description

Widely used assertions.

Definition at line 18 of file Assert.class.php.


Member Function Documentation

static Assert::isTrue ( boolean,
message = null 
) [static]

Definition at line 20 of file Assert.class.php.

Referenced by Color::__construct(), RedirectToView::__construct(), UnifiedContainer::__construct(), FullText::__construct(), LogicalBlock::__construct(), VoodooDaoWorker::cacheListByQuery(), SmartDaoWorker::cacheListByQuery(), PostgresDialect::checkColumn(), LiteDialect::checkColumn(), MetaConfiguration::checkSanity(), IndependentLinkDAO::checkType(), DependentDAO::checkType(), DateRange::clip(), CodeGenerator::generateOneSymbol(), PlainForm::getActualChoiceValue(), PlainForm::getChoiceValue(), MimeMail::getEncodedBody(), MimeMail::getHeaders(), ArrayUtils::getIdsArray(), Singleton::getInstance(), DBSchema::getTableByName(), PrimitiveIdentifier::importValue(), PrimitiveEnumeration::importValue(), PrimitiveDate::importValue(), DateRange::isNeighbour(), MetaConfiguration::load(), MimePart::loadBodyFromFile(), PrimitiveIdentifier::of(), PrimitiveEnumeration::of(), PlainList::offsetSet(), IndexedList::offsetSet(), Sequenceless::query(), SimplePhpView::render(), CommandChain::run(), PrimitiveDate::setDefault(), DBFactory::setDefaultInstance(), Time::setHour(), PrimitiveDate::setMax(), PrimitiveDate::setMin(), Time::setMinute(), UnifiedContainer::setObjectQuery(), DataType::setPrecision(), DBColumn::setReference(), DataType::setScale(), Time::setSecond(), DataType::setSize(), DataType::setTimezoned(), PrimitiveRange::setValue(), PrimitiveDate::setValue(), IdentifiablePrimitive::setValue(), ModelAndView::setView(), OneToManyLinkedLazy::sync(), ManyToManyLinkedLazy::sync(), TruncateQuery::toDialectString(), SelectQuery::toDialectString(), and PartViewer::view().

static Assert::isFalse ( boolean,
message = null 
) [static]

static Assert::isString ( &$  variable,
message = null 
) [static]

static Assert::isBoolean ( &$  variable,
message = null 
) [static]

Definition at line 54 of file Assert.class.php.

Referenced by UnifiedContainer::__construct().

static Assert::isTernaryBase ( &$  variable,
message = null 
) [static]

static Assert::brothers ( &$  first,
&$  second,
message = null 
) [static]

Definition at line 72 of file Assert.class.php.

Referenced by ObjectsTree::setParent().

static Assert::fail ( message = null  )  [static, private]

Definition at line 78 of file Assert.class.php.


The documentation for this class was generated from the following file:

generated by doxygen-1.5.1
for onPHP at Sun Nov 12 00:35:05 2006