-
generateSalt
-
This method generates a request-unique sting by combining the path_info and request paramters.
-
getAttribute
-
Returns the value of a attribute. The value will be a string or numeric.
-
getAttributes
-
Returns all of the attributes.
-
getEmail
-
Get the email.
-
getForumId
-
Get the forum id.
-
getForumList
-
This method retrieves an a list of forums.
-
getForumList
-
This method retrieves an a list of forums.
-
getForumList
-
This method retrieves an a list of forums.
-
getForumList
-
This method retrieves an a list of forums.
-
getId
-
Get the id.
-
getLastUpdated
-
Get the elapsed time since last updated.
-
getLastUpdated
-
Get the elapsed time since last updated.
-
getName
-
Get the id.
-
getOption
-
Returns the value of a option. The value will be a string or numeric.
-
getOptions
-
Returns all of the options.
-
getParentId
-
Get the parent id.
-
getPostCount
-
Get the post count.
-
getRecentTopics
-
Returns a list of topics across all forums in order of most recent posts.
-
getRecentTopics
-
Returns a list of topics across all forums in order of most recent posts.
-
getRecentTopics
-
Returns a list of topics across all forums in order of most recent posts.
-
getRecentTopics
-
Returns a list of topics across all forums in order of most recent posts.
-
getSecondaryCode
-
Gets the code from the secondary source of the exception.
-
getSecondaryMessage
-
Gets the message from the secondary source of the exception.
-
getSecondarySource
-
Gets the secondary source of the exception.
-
getTopic
-
Returns information about set of topics.
-
getTopic
-
Returns information about set of topics.
-
getTopic
-
Returns information about set of topics.
-
getTopic
-
Returns information about set of topics.
-
getTopicCount
-
Get the topic count.
-
getTopicList
-
Returns a list of Topics in a forum.
-
getTopicList
-
Returns a list of Topics in a forum.
-
getTopicList
-
Returns a list of Topics in a forum.
-
getTopicList
-
Returns a list of Topics in a forum.
-
getUnreadPrivateMessageCount
-
Gets a count of the number of unread messages.
-
getUnreadPrivateMessageCount
-
Gets a count of the number of unread messages.
-
getUnreadPrivateMessageCount
-
Gets a count of the number of unread messages.
-
getUnreadPrivateMessageCount
-
Gets a count of the number of unread messages.
-
getUrl
-
Get the url.
-
getUser
-
Returns a user's information. Look for user attribute "ban" for indication of banned users.
-
getUser
-
Returns a user's information. Look for user attribute "ban" for indication of banned users.
-
getUser
-
Returns a user's information. Look for user attribute "ban" for indication of banned users.
-
getUser
-
Returns a user's information. Look for user attribute "ban" for indication of banned users.
-
getUserByName
-
Returns a user's information. Look for user attribute "ban" for indication of banned users.
-
getUserByName
-
Returns a user's information. Look for user attribute "ban" for indication of banned users.
-
getUserByName
-
Returns a user's information. Look for user attribute "ban" for indication of banned users.
-
getUserByName
-
Returns a user's information. Look for user attribute "ban" for indication of banned users.
-
getUserBySession
-
Returns a user's information. Look for user attribute "ban" for indication of banned users.
-
getUserBySession
-
Returns a user's information. Look for user attribute "ban" for indication of banned users.
-
getUserBySession
-
Returns a user's information. Look for user attribute "ban" for indication of banned users.
-
getUserbySession
-
Returns a user's information. Look for user attribute "ban" for indication of banned users.
-
getUserName
-
Gets the user name.
-
naruto.php
-
-
narutoCategory.php
-
-
narutoConstants.php
-
-
narutoCredentials.php
-
-
narutoDO.php
-
-
narutoException.php
-
-
narutoForum.php
-
-
narutoOptions.php
-
-
narutoService.php
-
-
narutoTopic.php
-
-
narutoUser.php
-
-
Naruto
-
This class defines the main client interface to message boards.
-
NarutoCategory
-
Contructor.
-
NarutoCategory
-
This class encapulates a Category data object. A category is a special type of Forum that only contains sub-forums.
-
NarutoCategoryTest
-
This class defines all the unit tests for the NarutoForum class.
-
NarutoConstants
-
This class defines the common constants used in the application.
-
NarutoCredentials
-
This class defines the authentication framework for the API.
-
NarutoCredentialsTest
-
This class defines all the unit tests for the NarutoCredentials class.
-
NarutoDO
-
Contructor.
-
NarutoDO
-
This is a base class for data objects including Forum, Topic and User.
-
NarutoDOTest
-
This class defines all the unit tests for the NarutoDO class.
-
NarutoException
-
This class defines the base execption for the API.
-
NarutoException
-
Contructor.
-
NarutoExceptionTest
-
This class defines all the unit tests for the NarutoException class.
-
NarutoForum
-
Contructor.
-
NarutoForum
-
This class encapulates a Forum data object.
-
NarutoForumTest
-
This class defines all the unit tests for the NarutoForum class.
-
NarutoOptions
-
Constructor
-
NarutoOptions
-
This class stores a options array in an object. This is used to pass this sata between methods.
-
NarutoOptionsTest
-
This class defines all the unit tests for the NarutoOptions class.
-
NarutoService
-
This interface defines methods needed for the server-side requests handler.
-
NarutoTopic
-
Contructor.
-
NarutoTopic
-
This class defined the topic object.
-
NarutoTopicTest
-
This class defines all the unit tests for the NarutoTopics class.
-
NarutoUser
-
Contructor.
-
NarutoUser
-
This class defines the forum user object.
-
NarutoUserTest
-
This class defines all the unit tests for the NarutoTopics class.
-
netQuery
-
netQuery - makes a HTTP request.
-
netQuery
-
netQuery - makes a HTTP request.
-
narutoCategoryTest.php
-
-
narutoCredentialsTest.php
-
-
narutoDOTest.php
-
-
narutoExceptionTest.php
-
-
narutoForumTest.php
-
-
narutoOptionsTest.php
-
-
narutoTopicTest.php
-
-
narutoUserTest.php
-
-
setAttribute
-
Adds or updates a attribute. The value has to be a string or numeric.
-
setAttributes
-
Sets all of the attributes at once removing all existing attributes.
-
setCredentials
-
This method specifies the credentials to use for message board authorizations.
-
setEmail
-
Set the email.
-
setForumId
-
Set the forum id.
-
setId
-
Set the id.
-
setLastUpdated
-
Set the elapsed time since last updated.
-
setLastUpdated
-
Set the elapsed time since last updated.
-
setName
-
Set the name.
-
setOption
-
Adds or updates a option. The value has to be a string or numeric.
-
setOptions
-
Sets all of the options at once removing all existing options.
-
setParentId
-
Set the parent id.
-
setPostCount
-
Set the post count.
-
setSecondaryCode
-
Sets the code from the secondary source of the exception.
-
setSecondaryMessage
-
Sets the message from the secondary source of the exception.
-
setSecondarySource
-
Sets the secondary source of the exception.
-
setTopicCount
-
Set the topic count.
-
setTransactionLog
-
This method sets the location of the transaction log. By default there is no log, but by setting this logging will be enabled.
-
setTransactionLog
-
This method sets the location of the transaction log. By default there is no log, but by setting this logging will be enabled.
-
setUp
-
-
setUp
-
-
setUp
-
-
setUp
-
-
setUp
-
-
setUp
-
-
setUp
-
-
setUp
-
-
setUp
-
-
setUp
-
-
setUrl
-
Set the url.
-
startService
-
This method is run per server-side service request. It processes a service request from the server variables.
-
startService
-
This method is run per server-side service request. It processes a service request from the server variables.
-
suite
-
-
sxeAck
-
Adds the ack element to a SimpleXMLElement.
-
sxeAddAttributes
-
Adds the attributes element to a SimpleXMLElement.
-
sxeAddException
-
Adds the exception element to a SimpleXMLElement.
-
sxeAddForum
-
Adds the forum element to a SimpleXMLElement.
-
sxeAddForums
-
Adds the forums element to a SimpleXMLElement.
-
sxeAddTopic
-
Adds the topic element to a SimpleXMLElement.
-
sxeAddTopics
-
Adds the topics element to a SimpleXMLElement.
-
sxeAddUser
-
Adds the user element to a SimpleXMLElement.
-
sxeDecimal
-
Adds the Decimal element to a SimpleXMLElement.
-
sxeExtractAttributes
-
Converts a SimpleXMLElement to a map of Attributes.
-
sxeExtractException
-
Converts a SimpleXMLElement to a map of Attributes.
-
sxeExtractForum
-
Converts a SimpleXMLElement to a NarutoForum object.
-
sxeExtractForums
-
Converts a SimpleXMLElement to a list of NarutoForum's.
-
sxeExtractTopic
-
Converts a SimpleXMLElement to a NarutoTopic object.
-
sxeExtractTopics
-
Converts a SimpleXMLElement to a list of NarutoTopic's.
-
sxeExtractUser
-
Converts a SimpleXMLElement to a NarutoUser object.
-
sxeGetResponse
-
Adds the main response element to a SimpleXMLElement. The response element includes the version and seq attributes and is named $method + 'Response'.
-
sxeGetRoot
-
Returns the root element for the XML response.
-
sxeId
-
Adds the Id element to a SimpleXMLElement.
-
sxeNak
-
Adds the nak element to a SimpleXMLElement.
-
testAddForumTopic
-
Testing getting the topic form forum 1 with list with no options.
-
testAddTopic
-
-
testAddTopicPost
-
Testing addTopicPost
-
testClearAttributes
-
Here we test set/get attributes methods
-
testClearOptions
-
Here we test set/get options methods
-
testForumSetLastUpdated
-
Here we test set/get last updated methods
-
testForumSetLastUpdated
-
Here we test set/get last updated methods
-
testForumSetParentId
-
Here we test set/get parent id methods
-
testForumSetPostCount
-
Here we test set/get post count methods
-
testForumSetTopicCount
-
Here we test set/get topic count methods
-
testGetAttributeDefault
-
Here we test get attribute methods when not found
-
testGetForumList
-
Testing getting the forum list with no options.
-
testGetForumList
-
-
testGetForumListWithAltUser
-
-
testGetForumListWithParent
-
-
testGetForumListWithParent
-
Testing getting the forum list with parent.
-
testGetOptionDefault
-
Here we test get option methods when not found
-
testGetRecentTopics
-
Testing getting the recent topics with no options.
-
testGetTopic
-
Testing getting the topic by id.
-
testGetTopicList
-
-
testGetTopicList
-
Testing getting the topic form forum 1 with list with no options.
-
testGetTopicListById
-
-
testGetTopicListWithLimit
-
Testing getting the topic form forum 1 with list with limit 2.
-
testGetTopicListWithLimitAndOffset
-
Testing getting the topic form forum 1 with list with limit 1 and offset 1.
-
testGetUnreadPrivateMessageCount
-
Testing getUnreadPrivateMessageCount
-
testGetUser
-
Testing getting the user by id.
-
testGetUserByName
-
Testing getting the user by name.
-
testGetUserByNameWithEmail
-
Testing getting the user by name with email.
-
testGetUserBySession
-
Testing getting the user by session.
-
testGetUserBySessionWithEmail
-
Testing getting the user by session with email.
-
testGetUserWithEmail
-
Testing getting the user by id with email.
-
testHackerLogin
-
Testing a bad login
-
testInitialValues
-
Here we test if constructor populates the data properly.
-
testMergeTopics
-
-
testMergeTopicsFalse
-
Testing mergeTopics False
-
testMergeTopicsTrue
-
Testing mergeTopics True
-
testNarutoExceptionGetSet
-
Here we test all the getters and setters of the class.
-
testNarutoExceptionThrow
-
Throwability test.
-
testOptionsOnConstructor
-
Here we test if options can be initialized on contructor.
-
testSetAttribute
-
Here we test set/get attribute methods
-
testSetAttributeNull
-
Here we test set/get attribute null
-
testSetAttributes
-
Here we test set/get attributes methods
-
testSetId
-
Here we test set/get Id methods
-
testSetName
-
Here we test set/get Name methods
-
testSetOption
-
Here we test set/get option methods
-
testSetOptionNull
-
Here we test set/get option null
-
testSetOptions
-
Here we test set/get options methods
-
testSetUrl
-
Here we test set/get url methods
-
testStage1GetUserName
-
In this test we try to validate user name function at stage 1.
-
testStep1PositiveFlow
-
In this test we try to validate user with a correct password at stage 1.
-
testStep1PositiveFlowEmptyPassword
-
In this test we try to validate user with a correct password at stage 1.
-
testStep1WrongPassword
-
In this test we try to validate user with a wrong password at stage 1.
-
testStep2BrokenFlowExportAfterImport
-
In this test we try to export a token without setting the credentials
-
testStep2BrokenFlowExportNoCred
-
In this test we try to export a token without setting the credentials
-
testStep2BrokenFlowValidateEmpty
-
In this test we try to validate a user without a token import or the setting of credentials.
-
testStep3BadPassword
-
In this case we take the flow all the way through step 3 with incorrect password.
-
testStep3BadSalt
-
In this case we take the flow all the way through step 3 with incorrect salt.
-
testStep3BadSaltEmptyPassword
-
In this case we take the flow all the way through step 3 with incorrect salt and empty password.
-
testStep3EmptyToken
-
In this case we create a import with an empty string.
-
testStep3GetUserName
-
In this case we take the flow all the way through step 3 with incorrect salt.
-
testStep3PositiveFlow
-
In this case we take the flow all the way through step 3 which is the most likely flow.
-
testStep3PositiveFlowEmptyPassword
-
In this case we take the flow all the way through step 3 wiith empty password.
-
testStep3ShortToken
-
In this case we create a import with a too short string.
-
testStep3WrongType
-
In this case we create a import with a wrong type 0.
-
testTopicInitialValues
-
Here we test if constructor populates the data properly.
-
testTopicSetEmail
-
Here we test set/get email methods
-
testTopicSetForumId
-
Here we test set/get forum id methods
-
toString
-
Returns information about the execptions.